Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

30.3 KB
Raw Blame
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";

/** bpy.ops.graph */
export interface Ops {
  /**
   * Add keyframes on every frame between the selected keyframes
   *
   * bpy.ops.graph.bake_keys
   */
  bake_keys: H.Operator<{}>;
  /**
   * Shift selected keys to the value of the neighboring keys as a block
   *
   * bpy.ops.graph.blend_offset
   */
  blend_offset: H.Operator<{
    /** Control which key to offset towards and how far Default: 0.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Blend selected keys to their default value from their current position
   *
   * bpy.ops.graph.blend_to_default
   */
  blend_to_default: H.Operator<{
    /** How much to blend to the default value Default: 0.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Blends keyframes from current state to an ease-in or ease-out curve
   *
   * bpy.ops.graph.blend_to_ease
   */
  blend_to_ease: H.Operator<{
    /** Favor either original data or ease curve Default: 0.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Blend selected keyframes to their left or right neighbor
   *
   * bpy.ops.graph.blend_to_neighbor
   */
  blend_to_neighbor: H.Operator<{
    /** The blend factor with 0 being the current frame Default: 0.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Move selected keyframes to an inbetween position relative to adjacent keys
   *
   * bpy.ops.graph.breakdown
   */
  breakdown: H.Operator<{
    /** Favor either the left or the right key Default: 0.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Smooth an F-Curve while maintaining the general shape of the curve
   *
   * bpy.ops.graph.butterworth_smooth
   */
  butterworth_smooth: H.Operator<{
    /** Lower values give a smoother curve Default: 3.0. */
    cutoff_frequency?: H.In<number>;
    /** Higher values produce a harder frequency cutoff Default: 4. */
    filter_order?: H.In<number>;
    /** How many samples to calculate per frame, helps with subframe data Default: 1. */
    samples_per_frame?: H.In<number>;
    /** How much to blend to the smoothed curve Default: 1.0. */
    blend?: H.In<number>;
    /** Linearly blend the smooth data to the border frames of the selection Default: 1. */
    blend_in_out?: H.In<number>;
  }>;
  /**
   * Simplify F-Curves by removing closely spaced keyframes
   *
   * bpy.ops.graph.clean
   */
  clean: H.Operator<{
    /** Threshold Default: 0.001. */
    threshold?: H.In<number>;
    /** Channels Default: False. */
    channels?: H.In<boolean>;
  }>;
  /**
   * Insert new keyframe at the cursor position for the active F-Curve
   *
   * bpy.ops.graph.click_insert
   */
  click_insert: H.Operator<{
    /** Frame to insert keyframe on Default: 1.0. */
    frame?: H.In<number>;
    /** Value for keyframe on Default: 1.0. */
    value?: H.In<number>;
    /** Extend selection instead of deselecting everything first Default: False. */
    extend?: H.In<boolean>;
  }>;
  /**
   * Select keyframes by clicking on them
   *
   * bpy.ops.graph.clickselect
   */
  clickselect: H.Operator<{
    /** Wait to Deselect Others Default: False. */
    wait_to_deselect_others?: H.In<boolean>;
    /** Instead of selecting on mouse press, wait to see if there's drag event. Otherwise select on mouse release Default: False. */
    use_select_on_click?: H.In<boolean>;
    /** Mouse X Default: 0. */
    mouse_x?: H.In<number>;
    /** Mouse Y Default: 0. */
    mouse_y?: H.In<number>;
    /** Toggle keyframe selection instead of leaving newly selected keyframes only Default: False. */
    extend?: H.In<boolean>;
    /** Deselect all when nothing under the cursor Default: False. */
    deselect_all?: H.In<boolean>;
    /** Select all keyframes that occur on the same frame as the one under the mouse Default: False. */
    column?: H.In<boolean>;
    /** Select all the keyframes in the curve Default: False. */
    curves?: H.In<boolean>;
  }>;
  /**
   * Copy selected keyframes to the internal clipboard
   *
   * bpy.ops.graph.copy
   */
  copy: H.Operator<{}>;
  /**
   * Interactively set the current frame and value cursor
   *
   * bpy.ops.graph.cursor_set
   */
  cursor_set: H.Operator<{
    /** Frame Default: 0.0. */
    frame?: H.In<number>;
    /** Value Default: 0.0. */
    value?: H.In<number>;
  }>;
  /**
   * Decimate F-Curves by removing keyframes that influence the curve shape the least
   *
   * bpy.ops.graph.decimate
   */
  decimate: H.Operator<{
    /**
     * Which mode to use for decimation Default: 'RATIO'.
     * - `RATIO`: Ratio (Use a percentage to specify how many keyframes you want to remove)
     * - `ERROR`: Error Margin (Use an error margin to specify how much the curve is allowed to deviate from the original path)
     */
    mode?: H.In<"RATIO" | "ERROR">;
    /** The ratio of keyframes to remove Default: 0.333333. */
    factor?: H.In<number>;
    /** How much the new decimated curve is allowed to deviate from the original Default: 0.0. */
    remove_error_margin?: H.In<number>;
  }>;
  /**
   * Remove all selected keyframes
   *
   * bpy.ops.graph.delete
   */
  delete: H.Operator<{
    /** Prompt for confirmation Default: True. */
    confirm?: H.In<boolean>;
  }>;
  /**
   * Delete all visible drivers considered invalid
   *
   * bpy.ops.graph.driver_delete_invalid
   */
  driver_delete_invalid: H.Operator<{}>;
  /**
   * Copy the driver variables of the active driver
   *
   * bpy.ops.graph.driver_variables_copy
   */
  driver_variables_copy: H.Operator<{}>;
  /**
   * Add copied driver variables to the active driver
   *
   * bpy.ops.graph.driver_variables_paste
   */
  driver_variables_paste: H.Operator<{
    /** Replace existing driver variables, instead of just appending to the end of the existing list Default: False. */
    replace?: H.In<boolean>;
  }>;
  /**
   * Make a copy of all selected keyframes
   *
   * bpy.ops.graph.duplicate
   */
  duplicate: H.Operator<{
    /** Mode Default: 'TRANSLATION'. */
    mode?: H.In<E.CurveExtrudeMode>;
  }>;
  /**
   * Make a copy of all selected keyframes and move them
   *
   * bpy.ops.graph.duplicate_move
   */
  duplicate_move: H.Operator<{
    /** Make a copy of all selected keyframes */
    GRAPH_OT_duplicate?: any;
    /** Move selected items */
    TRANSFORM_OT_translate?: any;
  }>;
  /**
   * Align keyframes on a ease-in or ease-out curve
   *
   * bpy.ops.graph.ease
   */
  ease: H.Operator<{
    /** Defines if the keys should be aligned on an ease-in or ease-out curve Default: 0.0. */
    factor?: H.In<number>;
    /** Higher values make the change more abrupt Default: 2.0. */
    sharpness?: H.In<number>;
  }>;
  /**
   * Set easing type for the F-Curve segments starting from the selected keyframes
   *
   * bpy.ops.graph.easing_type
   */
  easing_type: H.Operator<{
    /**
     * Type Default: 'AUTO'.
     * - `AUTO`: Automatic Easing (Easing type is chosen automatically based on what the type of interpolation used (e.g. Ease In for transitional types, and Ease Out for dynamic effects))
     * - `EASE_IN`: Ease In (Only on the end closest to the next keyframe)
     * - `EASE_OUT`: Ease Out (Only on the end closest to the first keyframe)
     * - `EASE_IN_OUT`: Ease In and Out (Segment between both keyframes)
     */
    type?: H.In<"AUTO" | "EASE_IN" | "EASE_OUT" | "EASE_IN_OUT">;
  }>;
  /**
   * Ensure selected keyframes' handles have equal length, optionally making them horizontal. Automatic, Automatic Clamped, or Vector handle types will be converted to Aligned
   *
   * bpy.ops.graph.equalize_handles
   */
  equalize_handles: H.Operator<{
    /**
     * Side of the keyframes' Bézier handles to affect Default: 'LEFT'.
     * - `LEFT`: Left (Equalize selected keyframes' left handles)
     * - `RIGHT`: Right (Equalize selected keyframes' right handles)
     * - `BOTH`: Both (Equalize both of a keyframe's handles)
     */
    side?: H.In<"LEFT" | "RIGHT" | "BOTH">;
    /** Length to make selected keyframes' Bézier handles Default: 5.0. */
    handle_length?: H.In<number>;
    /** Make the values of the selected keyframes' handles the same as their respective keyframes Default: False. */
    flatten?: H.In<boolean>;
  }>;
  /**
   * Fix large jumps and flips in the selected Euler Rotation F-Curves arising from rotation values being clipped when baking physics
   *
   * bpy.ops.graph.euler_filter
   */
  euler_filter: H.Operator<{}>;
  /**
   * Set extrapolation mode for selected F-Curves
   *
   * bpy.ops.graph.extrapolation_type
   */
  extrapolation_type: H.Operator<{
    /**
     * Type Default: 'CONSTANT'.
     * - `CONSTANT`: Constant Extrapolation (Values on endpoint keyframes are held)
     * - `LINEAR`: Linear Extrapolation (Straight-line slope of end segments are extended past the endpoint keyframes)
     * - `MAKE_CYCLIC`: Make Cyclic (F-Modifier) (Add Cycles F-Modifier if one does not exist already)
     * - `CLEAR_CYCLIC`: Clear Cyclic (F-Modifier) (Remove Cycles F-Modifier if not needed anymore)
     */
    type?: H.In<"CONSTANT" | "LINEAR" | "MAKE_CYCLIC" | "CLEAR_CYCLIC">;
  }>;
  /**
   * Add F-Modifier to the active/selected F-Curves
   *
   * bpy.ops.graph.fmodifier_add
   */
  fmodifier_add: H.Operator<{
    /** Type Default: 'NULL'. */
    type?: H.In<E.FCurveModifiersType>;
    /** Only add F-Modifier to active F-Curve Default: False. */
    only_active?: H.In<boolean>;
  }>;
  /**
   * Copy the F-Modifier(s) of the active F-Curve
   *
   * bpy.ops.graph.fmodifier_copy
   */
  fmodifier_copy: H.Operator<{}>;
  /**
   * Remove Modifier(s) from the selected F-Curves
   *
   * bpy.ops.graph.fmodifier_delete
   */
  fmodifier_delete: H.Operator<{
    /**
     * Decide what the operator will remove Default: 'ALL'.
     * - `ALL`: Remove All (Remove all modifiers from the selected F-Curves)
     * - `FIRST`: Remove First (Only remove the first modifier from each F-Curve regardless of type)
     * - `TYPE`: Remove Type (Only remove the specified type of F-Curve modifier)
     */
    mode?: H.In<"ALL" | "FIRST" | "TYPE">;
    /** Type Default: 'GENERATOR'. */
    type?: H.In<E.FCurveModifiersType>;
  }>;
  /**
   * Add copied F-Modifiers to the selected F-Curves
   *
   * bpy.ops.graph.fmodifier_paste
   */
  fmodifier_paste: H.Operator<{
    /** Only paste F-Modifiers on active F-Curve Default: False. */
    only_active?: H.In<boolean>;
    /** Replace existing F-Modifiers, instead of just appending to the end of the existing list Default: False. */
    replace?: H.In<boolean>;
  }>;
  /**
   * Place the cursor on the midpoint of selected keyframes
   *
   * bpy.ops.graph.frame_jump
   */
  frame_jump: H.Operator<{}>;
  /**
   * Smooth the curve using a Gaussian filter
   *
   * bpy.ops.graph.gaussian_smooth
   */
  gaussian_smooth: H.Operator<{
    /** How much to blend to the default value Default: 1.0. */
    factor?: H.In<number>;
    /** The shape of the gaussian distribution, lower values make it sharper Default: 0.33. */
    sigma?: H.In<number>;
    /** How far to each side the operator will average the key values Default: 6. */
    filter_width?: H.In<number>;
  }>;
  /**
   * Clear F-Curve snapshots (Ghosts) for active Graph Editor
   *
   * bpy.ops.graph.ghost_curves_clear
   */
  ghost_curves_clear: H.Operator<{}>;
  /**
   * Create snapshot (Ghosts) of selected F-Curves as background aid for active Graph Editor
   *
   * bpy.ops.graph.ghost_curves_create
   */
  ghost_curves_create: H.Operator<{}>;
  /**
   * Set type of handle for selected keyframes
   *
   * bpy.ops.graph.handle_type
   */
  handle_type: H.Operator<{
    /**
     * Type Default: 'FREE'.
     * - `FREE`: Free (Completely independent manually set handle)
     * - `ALIGNED`: Aligned (Manually set handle with rotation locked together with its pair)
     * - `VECTOR`: Vector (Automatic handles that create straight lines)
     * - `AUTO`: Automatic (Automatic handles that create smooth curves)
     * - `AUTO_CLAMPED`: Auto Clamped (Automatic handles that create smooth curves which only change direction at keyframes)
     */
    type?: H.In<"FREE" | "ALIGNED" | "VECTOR" | "AUTO" | "AUTO_CLAMPED">;
  }>;
  /**
   * Hide selected curves from Graph Editor view
   *
   * bpy.ops.graph.hide
   */
  hide: H.Operator<{
    /** Hide unselected rather than selected curves Default: False. */
    unselected?: H.In<boolean>;
  }>;
  /**
   * Set interpolation mode for the F-Curve segments starting from the selected keyframes
   *
   * bpy.ops.graph.interpolation_type
   */
  interpolation_type: H.Operator<{
    /** Type Default: 'CONSTANT'. */
    type?: H.In<E.KeyframeInterpolation>;
  }>;
  /**
   * Insert keyframes for the specified channels
   *
   * bpy.ops.graph.keyframe_insert
   */
  keyframe_insert: H.Operator<{
    /**
     * Type Default: 'ALL'.
     * - `ALL`: All Channels (Insert a keyframe on all visible and editable F-Curves using each curve's current value)
     * - `SEL`: Only Selected Channels (Insert a keyframe on selected F-Curves using each curve's current value)
     * - `ACTIVE`: Only Active F-Curve (Insert a keyframe on the active F-Curve using the curve's current value)
     * - `CURSOR_ACTIVE`: Active Channels at Cursor (Insert a keyframe for the active F-Curve at the cursor point)
     * - `CURSOR_SEL`: Selected Channels at Cursor (Insert a keyframe for selected F-Curves at the cursor point)
     */
    type?: H.In<"ALL" | "SEL" | "ACTIVE" | "CURSOR_ACTIVE" | "CURSOR_SEL">;
  }>;
  /**
   * Jump to previous/next keyframe
   *
   * bpy.ops.graph.keyframe_jump
   */
  keyframe_jump: H.Operator<{
    /** Next Keyframe Default: True. */
    next?: H.In<boolean>;
  }>;
  /**
   * Convert selected channels to an uneditable set of samples to save storage space
   *
   * bpy.ops.graph.keys_to_samples
   */
  keys_to_samples: H.Operator<{}>;
  /**
   * Isolate selected F-Curves in Graph Editor view
   *
   * bpy.ops.graph.local_view
   */
  local_view: H.Operator<{
    /** Zoom current view to draw selected fcurves in visible range Default: True. */
    frame_selected?: H.In<boolean>;
  }>;
  /**
   * Blend selected keys to the slope of neighboring ones
   *
   * bpy.ops.graph.match_slope
   */
  match_slope: H.Operator<{
    /** Defines which keys to use as slope and how much to blend towards them Default: 0.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Flip selected keyframes over the selected mirror line
   *
   * bpy.ops.graph.mirror
   */
  mirror: H.Operator<{
    /**
     * Type Default: 'CFRA'.
     * - `CFRA`: By Times Over Current Frame (Flip times of selected keyframes using the current frame as the mirror line)
     * - `MARKER`: By Times Over First Selected Marker (Flip times of selected keyframes using the first selected marker as the reference point)
     * - `YAXIS`: By Times Over Zero Time (Flip times of selected keyframes, effectively reversing the order they appear in)
     * - `VALUE`: By Values Over Cursor Value (Flip values of selected keyframes using the cursor value (Y/Horizontal component) as the mirror line)
     * - `XAXIS`: By Values Over Zero Value (Flip values of selected keyframes (i.e. negative values become positive, and vice versa))
     */
    type?: H.In<"CFRA" | "MARKER" | "YAXIS" | "VALUE" | "XAXIS">;
  }>;
  /**
   * Paste keyframes from the internal clipboard for the selected channels, starting on the current frame
   *
   * bpy.ops.graph.paste
   */
  paste: H.Operator<{
    /**
     * Paste time offset of keys Default: 'START'.
     * - `START`: Frame Start (Paste keys starting at current frame)
     * - `END`: Frame End (Paste keys ending at current frame)
     * - `RELATIVE`: Frame Relative (Paste keys relative to the current frame when copying)
     * - `NONE`: No Offset (Paste keys from original time)
     */
    offset?: H.In<"START" | "END" | "RELATIVE" | "NONE">;
    /**
     * Paste keys with a value offset Default: 'NONE'.
     * - `LEFT_KEY`: Left Key (Paste keys with the first key matching the key left of the cursor)
     * - `RIGHT_KEY`: Right Key (Paste keys with the last key matching the key right of the cursor)
     * - `CURRENT_FRAME`: Current Frame Value (Paste keys relative to the value of the curve under the cursor)
     * - `CURSOR_VALUE`: Cursor Value (Paste keys relative to the Y-Position of the cursor)
     * - `NONE`: No Offset (Paste keys with the same value as they were copied)
     */
    value_offset?: H.In<"LEFT_KEY" | "RIGHT_KEY" | "CURRENT_FRAME" | "CURSOR_VALUE" | "NONE">;
    /**
     * Method of merging pasted keys and existing Default: 'MIX'.
     * - `MIX`: Mix (Overlay existing with new keys)
     * - `OVER_ALL`: Overwrite All (Replace all keys)
     * - `OVER_RANGE`: Overwrite Range (Overwrite keys in pasted range)
     * - `OVER_RANGE_ALL`: Overwrite Entire Range (Overwrite keys in pasted range, using the range of all copied keys)
     */
    merge?: H.In<"MIX" | "OVER_ALL" | "OVER_RANGE" | "OVER_RANGE_ALL">;
    /** Paste keyframes from mirrored bones if they exist Default: False. */
    flipped?: H.In<boolean>;
  }>;
  /**
   * Set Preview Range based on range of selected keyframes
   *
   * bpy.ops.graph.previewrange_set
   */
  previewrange_set: H.Operator<{}>;
  /**
   * Exaggerate or minimize the value of the selected keys
   *
   * bpy.ops.graph.push_pull
   */
  push_pull: H.Operator<{
    /** Control how far to push or pull the keys Default: 1.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Make previously hidden curves visible again in Graph Editor view
   *
   * bpy.ops.graph.reveal
   */
  reveal: H.Operator<{
    /** Select Default: True. */
    select?: H.In<boolean>;
  }>;
  /**
   * Convert selected channels from samples to keyframes
   *
   * bpy.ops.graph.samples_to_keys
   */
  samples_to_keys: H.Operator<{}>;
  /**
   * Scale selected key values by their combined average
   *
   * bpy.ops.graph.scale_average
   */
  scale_average: H.Operator<{
    /** The scale factor applied to the curve segments Default: 1.0. */
    factor?: H.In<number>;
  }>;
  /**
   * Increase or decrease the value of selected keys in relationship to the neighboring one
   *
   * bpy.ops.graph.scale_from_neighbor
   */
  scale_from_neighbor: H.Operator<{
    /** The factor to scale keys with Default: 0.0. */
    factor?: H.In<number>;
    /**
     * Which end of the segment to use as a reference to scale from Default: 'LEFT'.
     * - `LEFT`: From Left
     * - `RIGHT`: From Right
     */
    anchor?: H.In<"LEFT" | "RIGHT">;
  }>;
  /**
   * Toggle selection of all keyframes
   *
   * bpy.ops.graph.select_all
   */
  select_all: H.Operator<{
    /**
     * Selection action to execute Default: 'TOGGLE'.
     * - `TOGGLE`: Toggle (Toggle selection for all elements)
     * - `SELECT`: Select (Select all elements)
     * - `DESELECT`: Deselect (Deselect all elements)
     * - `INVERT`: Invert (Invert selection of all elements)
     */
    action?: H.In<"TOGGLE" | "SELECT" | "DESELECT" | "INVERT">;
  }>;
  /**
   * Select all keyframes within the specified region
   *
   * bpy.ops.graph.select_box
   */
  select_box: H.Operator<{
    /** Axis Range Default: False. */
    axis_range?: H.In<boolean>;
    /** Are handles tested individually against the selection criteria, independently from their keys. When unchecked, handles are (de)selected in unison with their keys Default: True. */
    include_handles?: H.In<boolean>;
    /** Operator has been activated using a click-drag event Default: False. */
    tweak?: H.In<boolean>;
    /** Allow selecting all the keyframes of a curve by selecting the calculated F-curve Default: True. */
    use_curve_selection?: H.In<boolean>;
    /** X Min Default: 0. */
    xmin?: H.In<number>;
    /** X Max Default: 0. */
    xmax?: H.In<number>;
    /** Y Min Default: 0. */
    ymin?: H.In<number>;
    /** Y Max Default: 0. */
    ymax?: H.In<number>;
    /** Wait for Input Default: True. */
    wait_for_input?: H.In<boolean>;
    /**
     * Mode Default: 'SET'.
     * - `SET`: Set (Set a new selection)
     * - `ADD`: Extend (Extend existing selection)
     * - `SUB`: Subtract (Subtract existing selection)
     */
    mode?: H.In<"SET" | "ADD" | "SUB">;
  }>;
  /**
   * Select keyframe points using circle selection
   *
   * bpy.ops.graph.select_circle
   */
  select_circle: H.Operator<{
    /** X Default: 0. */
    x?: H.In<number>;
    /** Y Default: 0. */
    y?: H.In<number>;
    /** Radius Default: 25. */
    radius?: H.In<number>;
    /** Wait for Input Default: True. */
    wait_for_input?: H.In<boolean>;
    /**
     * Mode Default: 'SET'.
     * - `SET`: Set (Set a new selection)
     * - `ADD`: Extend (Extend existing selection)
     * - `SUB`: Subtract (Subtract existing selection)
     */
    mode?: H.In<"SET" | "ADD" | "SUB">;
    /** Are handles tested individually against the selection criteria, independently from their keys. When unchecked, handles are (de)selected in unison with their keys Default: True. */
    include_handles?: H.In<boolean>;
    /** Allow selecting all the keyframes of a curve by selecting the curve itself Default: True. */
    use_curve_selection?: H.In<boolean>;
  }>;
  /**
   * Select all keyframes on the specified frame(s)
   *
   * bpy.ops.graph.select_column
   */
  select_column: H.Operator<{
    /**
     * Mode Default: 'KEYS'.
     * - `KEYS`: On Selected Keyframes
     * - `CFRA`: On Current Frame
     * - `MARKERS_COLUMN`: On Selected Markers
     * - `MARKERS_BETWEEN`: Between Min/Max Selected Markers
     */
    mode?: H.In<"KEYS" | "CFRA" | "MARKERS_COLUMN" | "MARKERS_BETWEEN">;
  }>;
  /**
   * For selected keyframes, select/deselect any combination of the key itself and its handles
   *
   * bpy.ops.graph.select_key_handles
   */
  select_key_handles: H.Operator<{
    /**
     * Effect on the left handle Default: 'SELECT'.
     * - `SELECT`: Select
     * - `DESELECT`: Deselect
     * - `KEEP`: Keep (Leave as is)
     */
    left_handle_action?: H.In<"SELECT" | "DESELECT" | "KEEP">;
    /**
     * Effect on the right handle Default: 'SELECT'.
     * - `SELECT`: Select
     * - `DESELECT`: Deselect
     * - `KEEP`: Keep (Leave as is)
     */
    right_handle_action?: H.In<"SELECT" | "DESELECT" | "KEEP">;
    /**
     * Effect on the key itself Default: 'KEEP'.
     * - `SELECT`: Select
     * - `DESELECT`: Deselect
     * - `KEEP`: Keep (Leave as is)
     */
    key_action?: H.In<"SELECT" | "DESELECT" | "KEEP">;
  }>;
  /**
   * Select keyframe points using lasso selection
   *
   * bpy.ops.graph.select_lasso
   */
  select_lasso: H.Operator<{
    /** Path */
    path?: H.In<readonly Record<string, any>[]>;
    /** Selection lags behind mouse and follows a smoother path Default: False. */
    use_smooth_stroke?: H.In<boolean>;
    /** Higher values give a smoother stroke Default: 0.75. */
    smooth_stroke_factor?: H.In<number>;
    /** Minimum distance from last point before selection continues Default: 35. */
    smooth_stroke_radius?: H.In<number>;
    /**
     * Mode Default: 'SET'.
     * - `SET`: Set (Set a new selection)
     * - `ADD`: Extend (Extend existing selection)
     * - `SUB`: Subtract (Subtract existing selection)
     */
    mode?: H.In<"SET" | "ADD" | "SUB">;
    /** Are handles tested individually against the selection criteria, independently from their keys. When unchecked, handles are (de)selected in unison with their keys Default: True. */
    include_handles?: H.In<boolean>;
    /** Allow selecting all the keyframes of a curve by selecting the curve itself Default: True. */
    use_curve_selection?: H.In<boolean>;
  }>;
  /**
   * Select keyframes to the left or the right of the current frame
   *
   * bpy.ops.graph.select_leftright
   */
  select_leftright: H.Operator<{
    /**
     * Mode Default: 'CHECK'.
     * - `LEFT`: Before Current Frame
     * - `RIGHT`: After Current Frame
     * - `CHECK`: Mouse Click Side
     */
    mode?: H.In<"LEFT" | "RIGHT" | "CHECK">;
    /** Extend Select Default: False. */
    extend?: H.In<boolean>;
  }>;
  /**
   * Deselect keyframes on ends of selection islands
   *
   * bpy.ops.graph.select_less
   */
  select_less: H.Operator<{}>;
  /**
   * Select keyframes occurring in the same F-Curves as selected ones
   *
   * bpy.ops.graph.select_linked
   */
  select_linked: H.Operator<{}>;
  /**
   * Select keyframes beside already selected ones
   *
   * bpy.ops.graph.select_more
   */
  select_more: H.Operator<{}>;
  /**
   * Affect the value of the keys linearly, keeping the same relationship between them using either the left or the right key as reference
   *
   * bpy.ops.graph.shear
   */
  shear: H.Operator<{
    /** The amount of shear to apply Default: 0.0. */
    factor?: H.In<number>;
    /**
     * Which end of the segment to use as a reference to shear from Default: 'FROM_LEFT'.
     * - `FROM_LEFT`: From Left (Shear the keys using the left key as reference)
     * - `FROM_RIGHT`: From Right (Shear the keys using the right key as reference)
     */
    direction?: H.In<"FROM_LEFT" | "FROM_RIGHT">;
  }>;
  /**
   * Apply weighted moving means to make selected F-Curves less bumpy
   *
   * bpy.ops.graph.smooth
   */
  smooth: H.Operator<{}>;
  /**
   * Snap selected keyframes to the chosen times/values
   *
   * bpy.ops.graph.snap
   */
  snap: H.Operator<{
    /**
     * Type Default: 'CFRA'.
     * - `CFRA`: Selection to Current Frame (Snap selected keyframes to the current frame)
     * - `VALUE`: Selection to Cursor Value (Set values of selected keyframes to the cursor value (Y/Horizontal component))
     * - `NEAREST_FRAME`: Selection to Nearest Frame (Snap selected keyframes to the nearest (whole) frame (use to fix accidental subframe offsets))
     * - `NEAREST_SECOND`: Selection to Nearest Second (Snap selected keyframes to the nearest second)
     * - `NEAREST_MARKER`: Selection to Nearest Marker (Snap selected keyframes to the nearest marker)
     * - `HORIZONTAL`: Flatten Handles (Flatten handles for a smoother transition)
     */
    type?: H.In<"CFRA" | "VALUE" | "NEAREST_FRAME" | "NEAREST_SECOND" | "NEAREST_MARKER" | "HORIZONTAL">;
  }>;
  /**
   * Place the cursor value on the average value of selected keyframes
   *
   * bpy.ops.graph.snap_cursor_value
   */
  snap_cursor_value: H.Operator<{}>;
  /**
   * Bakes a sound wave to samples on selected channels
   *
   * bpy.ops.graph.sound_to_samples
   */
  sound_to_samples: H.Operator<{
    /** Path to file Default: "". */
    filepath?: H.In<string>;
    /** Check and warn on overwriting existing files Default: False. */
    check_existing?: H.In<boolean>;
    /** Filter .blend files Default: False. */
    filter_blender?: H.In<boolean>;
    /** Filter backup .blend files Default: False. */
    filter_backup?: H.In<boolean>;
    /** Filter image files Default: False. */
    filter_image?: H.In<boolean>;
    /** Filter movie files Default: True. */
    filter_movie?: H.In<boolean>;
    /** Filter Python files Default: False. */
    filter_python?: H.In<boolean>;
    /** Filter font files Default: False. */
    filter_font?: H.In<boolean>;
    /** Filter sound files Default: True. */
    filter_sound?: H.In<boolean>;
    /** Filter text files Default: False. */
    filter_text?: H.In<boolean>;
    /** Filter archive files Default: False. */
    filter_archive?: H.In<boolean>;
    /** Filter btx files Default: False. */
    filter_btx?: H.In<boolean>;
    /** Filter Alembic files Default: False. */
    filter_alembic?: H.In<boolean>;
    /** Filter USD files Default: False. */
    filter_usd?: H.In<boolean>;
    /** Filter OBJ files Default: False. */
    filter_obj?: H.In<boolean>;
    /** Filter OpenVDB volume files Default: False. */
    filter_volume?: H.In<boolean>;
    /** Filter folders Default: True. */
    filter_folder?: H.In<boolean>;
    /** Filter Blender IDs Default: False. */
    filter_blenlib?: H.In<boolean>;
    /** The setting for the file browser mode to load a .blend file, a library or a special file Default: 9. */
    filemode?: H.In<number>;
    /** Enable Multi-View Default: False. */
    show_multiview?: H.In<boolean>;
    /** Use Multi-View Default: False. */
    use_multiview?: H.In<boolean>;
    /**
     * Display Type Default: 'DEFAULT'.
     * - `DEFAULT`: Default (Automatically determine display type for files)
     * - `LIST_VERTICAL`: Short List (Display files as short list)
     * - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
     * - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
     */
    display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
    /** File sorting mode Default: ''. */
    sort_method?: H.In<string>;
    /** Cutoff frequency of a high-pass filter that is applied to the audio data Default: 0.0. */
    low?: H.In<number>;
    /** Cutoff frequency of a low-pass filter that is applied to the audio data Default: 100000.0. */
    high?: H.In<number>;
    /** Value for the envelope calculation that tells how fast the envelope can rise (the lower the value the steeper it can rise) Default: 0.005. */
    attack?: H.In<number>;
    /** Value for the envelope calculation that tells how fast the envelope can fall (the lower the value the steeper it can fall) Default: 0.2. */
    release?: H.In<number>;
    /** Minimum amplitude value needed to influence the envelope Default: 0.0. */
    threshold?: H.In<number>;
    /** Only the positive differences of the envelope amplitudes are summarized to produce the output Default: False. */
    use_accumulate?: H.In<boolean>;
    /** The amplitudes of the envelope are summarized (or, when Accumulate is enabled, both positive and negative differences are accumulated) Default: False. */
    use_additive?: H.In<boolean>;
    /** The output is a square curve (negative values always result in -1, and positive ones in 1) Default: False. */
    use_square?: H.In<boolean>;
    /** Square only: all values with an absolute amplitude lower than that result in 0 Default: 0.1. */
    sthreshold?: H.In<number>;
  }>;
  /**
   * Shifts the value of selected keys in time
   *
   * bpy.ops.graph.time_offset
   */
  time_offset: H.Operator<{
    /** How far in frames to offset the animation Default: 0.0. */
    frame_offset?: H.In<number>;
  }>;
  /**
   * Reset viewable area to show full keyframe range
   *
   * bpy.ops.graph.view_all
   */
  view_all: H.Operator<{
    /** Include handles of keyframes when calculating extents Default: True. */
    include_handles?: H.In<boolean>;
  }>;
  /**
   * Move the view to the current frame
   *
   * bpy.ops.graph.view_frame
   */
  view_frame: H.Operator<{}>;
  /**
   * Reset viewable area to show selected keyframe range
   *
   * bpy.ops.graph.view_selected
   */
  view_selected: H.Operator<{
    /** Include handles of keyframes when calculating extents Default: True. */
    include_handles?: H.In<boolean>;
  }>;
}