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.

76.9 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";
import type * as P from "../py";

/**
 * Base type for data-blocks, defining a unique name, linking from other libraries and garbage collection
 *
 * bpy.types.ID
 */
export interface ID extends R.bpy_struct {
  /** Unique data-block ID name (within a same type and library) Default: "". */
  get name(): H.Ref<string>;
  set name(v: H.In<string>);
  /** Unique data-block ID name, including library one if any Default: "". */
  get name_full(): H.Ref<string>;
  /** Type identifier of this data-block Default: 'ACTION'. */
  get id_type(): H.Ref<E.ActionSlotsIdType>;
  /** A session-wide unique identifier for the data block that remains the same across renames and internal reallocations, unchanged when reloading the file Range: -2147483648 to 2147483647. Default: 0. */
  get session_uid(): H.Ref<number>;
  /** Whether this ID is runtime-only, evaluated data-block, or actual data from .blend file Default: False. */
  get is_evaluated(): H.Ref<boolean>;
  /** Actual data-block from .blend file (Main database) that generated that evaluated one */
  get original(): H.Ptr<R.ID>;
  /** Number of times this data-block is referenced Range: 0 to 2147483647. Default: 0. */
  get users(): H.Ref<number>;
  /** Save this data-block even if it has no users Default: False. */
  get use_fake_user(): H.Ref<boolean>;
  set use_fake_user(v: H.In<boolean>);
  /** Indicates whether an extra user is set or not (mainly for internal/debug usages) Default: False. */
  get use_extra_user(): H.Ref<boolean>;
  set use_extra_user(v: H.In<boolean>);
  /** This data-block is not an independent one, but is actually a sub-data of another ID (typical example: root node trees or master collections) Default: False. */
  get is_embedded_data(): H.Ref<boolean>;
  /** This data-block is linked and packed into the .blend file Default: False. */
  get is_linked_packed(): H.Ref<boolean>;
  /** This data-block is a place-holder for missing linked data (i.e. it is [an override of] a linked data that could not be found anymore) Default: False. */
  get is_missing(): H.Ref<boolean>;
  /** This data-block is runtime data, i.e. it won't be saved in .blend file. Note that e.g. evaluated IDs are always runtime, so this value is only editable for data-blocks in Main data-base. Default: False. */
  get is_runtime_data(): H.Ref<boolean>;
  set is_runtime_data(v: H.In<boolean>);
  /** This data-block is editable in the user interface. Linked data-blocks are not editable, except if they were loaded as editable assets. Default: False. */
  get is_editable(): H.Ref<boolean>;
  /** Tools can use this to tag data for their own purposes (initial state is undefined) Default: False. */
  get tag(): H.Ref<boolean>;
  set tag(v: H.In<boolean>);
  /** Is this ID block linked indirectly Default: False. */
  get is_library_indirect(): H.Ref<boolean>;
  /** Library file the data-block is linked from */
  get library(): H.Ptr<R.Library>;
  /** Weak reference to a data-block in another library .blend file (used to re-use already appended data instead of appending new copies) */
  get library_weak_reference(): H.Ptr<R.LibraryWeakReference>;
  /** Additional data for an asset data-block */
  get asset_data(): H.Ptr<R.AssetMetaData>;
  set asset_data(v: R.AssetMetaData | null);
  /** Library override data */
  get override_library(): H.Ptr<R.IDOverrideLibrary>;
  /** Preview image and icon of this data-block (always None if not supported for this type of data) */
  get preview(): H.Ptr<R.ImagePreview>;
  /**
   * DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
   * @param do_create Ensure that system properties are created if they do not exist yet
   */
  bl_system_properties_get(do_create?: H.In<boolean>): H.Ptr<R.PropertyGroup>;
  /**
   * DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
   * @param do_create Ensure that system properties are created if they do not exist yet
   */
  bl_system_properties_get(kw: {
    /** Ensure that system properties are created if they do not exist yet */
    do_create?: H.In<boolean>;
  }): H.Ptr<R.PropertyGroup>;
  /**
   * More refined handling in case the new name collides with another ID's name
   * @param name New name to rename the ID to, if empty will re-use the current ID name
   * @param mode How to handle name collision, in case the requested new name is already used by another ID of the same type - `NEVER`: Never Rename (Never rename an existing ID whose name would conflict, the currently renamed ID will get a numeric suffix appended to its new name) - `ALWAYS`: Always Rename (Always rename an existing ID whose name would conflict, ensuring that the currently renamed ID will get requested name) - `SAME_ROOT`: Rename If Same Root (Only rename an existing ID whose name would conflict if its name root (everything besides the numerical suffix) is the same as the existing name of the currently renamed ID)
   */
  rename(name: H.In<string>, mode?: H.In<"NEVER" | "ALWAYS" | "SAME_ROOT">): H.Ref<"UNCHANGED" | "UNCHANGED_COLLISION" | "RENAMED_NO_COLLISION" | "RENAMED_COLLISION_ADJUSTED" | "RENAMED_COLLISION_FORCED">;
  /**
   * More refined handling in case the new name collides with another ID's name
   * @param name New name to rename the ID to, if empty will re-use the current ID name
   * @param mode How to handle name collision, in case the requested new name is already used by another ID of the same type - `NEVER`: Never Rename (Never rename an existing ID whose name would conflict, the currently renamed ID will get a numeric suffix appended to its new name) - `ALWAYS`: Always Rename (Always rename an existing ID whose name would conflict, ensuring that the currently renamed ID will get requested name) - `SAME_ROOT`: Rename If Same Root (Only rename an existing ID whose name would conflict if its name root (everything besides the numerical suffix) is the same as the existing name of the currently renamed ID)
   */
  rename(name: H.In<string>, kw: {
    /**
     * How to handle name collision, in case the requested new name is already used by another ID of the same type
     * - `NEVER`: Never Rename (Never rename an existing ID whose name would conflict, the currently renamed ID will get a numeric suffix appended to its new name)
     * - `ALWAYS`: Always Rename (Always rename an existing ID whose name would conflict, ensuring that the currently renamed ID will get requested name)
     * - `SAME_ROOT`: Rename If Same Root (Only rename an existing ID whose name would conflict if its name root (everything besides the numerical suffix) is the same as the existing name of the currently renamed ID)
     */
    mode?: H.In<"NEVER" | "ALWAYS" | "SAME_ROOT">;
  }): H.Ref<"UNCHANGED" | "UNCHANGED_COLLISION" | "RENAMED_NO_COLLISION" | "RENAMED_COLLISION_ADJUSTED" | "RENAMED_COLLISION_FORCED">;
  /**
   * More refined handling in case the new name collides with another ID's name
   * @param name New name to rename the ID to, if empty will re-use the current ID name
   * @param mode How to handle name collision, in case the requested new name is already used by another ID of the same type - `NEVER`: Never Rename (Never rename an existing ID whose name would conflict, the currently renamed ID will get a numeric suffix appended to its new name) - `ALWAYS`: Always Rename (Always rename an existing ID whose name would conflict, ensuring that the currently renamed ID will get requested name) - `SAME_ROOT`: Rename If Same Root (Only rename an existing ID whose name would conflict if its name root (everything besides the numerical suffix) is the same as the existing name of the currently renamed ID)
   */
  rename(kw: {
    /** New name to rename the ID to, if empty will re-use the current ID name */
    name: H.In<string>;
    /**
     * How to handle name collision, in case the requested new name is already used by another ID of the same type
     * - `NEVER`: Never Rename (Never rename an existing ID whose name would conflict, the currently renamed ID will get a numeric suffix appended to its new name)
     * - `ALWAYS`: Always Rename (Always rename an existing ID whose name would conflict, ensuring that the currently renamed ID will get requested name)
     * - `SAME_ROOT`: Rename If Same Root (Only rename an existing ID whose name would conflict if its name root (everything besides the numerical suffix) is the same as the existing name of the currently renamed ID)
     */
    mode?: H.In<"NEVER" | "ALWAYS" | "SAME_ROOT">;
  }): H.Ref<"UNCHANGED" | "UNCHANGED_COLLISION" | "RENAMED_NO_COLLISION" | "RENAMED_COLLISION_ADJUSTED" | "RENAMED_COLLISION_FORCED">;
  /**
   * Get corresponding evaluated ID from the given dependency graph. Note that this does not ensure the dependency graph is fully evaluated, it just returns the result of the last evaluation.
   * @param depsgraph Dependency graph to perform lookup in
   */
  evaluated_get(depsgraph: R.Depsgraph): H.Ptr<R.ID>;
  /**
   * Get corresponding evaluated ID from the given dependency graph. Note that this does not ensure the dependency graph is fully evaluated, it just returns the result of the last evaluation.
   * @param depsgraph Dependency graph to perform lookup in
   */
  evaluated_get(kw: {
    /** Dependency graph to perform lookup in */
    depsgraph: R.Depsgraph;
  }): H.Ptr<R.ID>;
  /** Create a copy of this data-block (not supported for all data-blocks). The result is added to the Blend-File Data (Main database), with all references to other data-blocks ensured to be from within the same Blend-File Data. */
  copy(): H.Ptr<R.ID>;
  /** Enable easier reuse of the data-block through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags) */
  asset_mark(): H.Ref<void>;
  /** Delete all asset metadata and turn the asset data-block back into a normal data-block */
  asset_clear(): H.Ref<void>;
  /** Generate preview image (might be scheduled in a background thread) */
  asset_generate_preview(): H.Ref<void>;
  /**
   * Create an overridden local copy of this linked data-block (not supported for all data-blocks)
   * @param remap_local_usages Whether local usages of the linked ID should be remapped to the new library override of it
   */
  override_create(remap_local_usages?: H.In<boolean>): H.Ptr<R.ID>;
  /**
   * Create an overridden local copy of this linked data-block (not supported for all data-blocks)
   * @param remap_local_usages Whether local usages of the linked ID should be remapped to the new library override of it
   */
  override_create(kw: {
    /** Whether local usages of the linked ID should be remapped to the new library override of it */
    remap_local_usages?: H.In<boolean>;
  }): H.Ptr<R.ID>;
  /**
   * Create an overridden local copy of this linked data-block, and most of its dependencies when it is a Collection or and Object
   * @param scene In which scene the new overrides should be instantiated
   * @param view_layer In which view layer the new overrides should be instantiated
   * @param reference Another ID (usually an Object or Collection) used as a hint to decide where to instantiate the new overrides
   * @param do_fully_editable Make all library overrides generated by this call fully editable by the user (none will be 'system overrides')
   */
  override_hierarchy_create(scene: R.Scene, view_layer: R.ViewLayer, reference?: R.ID | null, do_fully_editable?: H.In<boolean>): H.Ptr<R.ID>;
  /**
   * Create an overridden local copy of this linked data-block, and most of its dependencies when it is a Collection or and Object
   * @param scene In which scene the new overrides should be instantiated
   * @param view_layer In which view layer the new overrides should be instantiated
   * @param reference Another ID (usually an Object or Collection) used as a hint to decide where to instantiate the new overrides
   * @param do_fully_editable Make all library overrides generated by this call fully editable by the user (none will be 'system overrides')
   */
  override_hierarchy_create(scene: R.Scene, view_layer: R.ViewLayer, kw: {
    /** Another ID (usually an Object or Collection) used as a hint to decide where to instantiate the new overrides */
    reference?: R.ID | null;
    /** Make all library overrides generated by this call fully editable by the user (none will be 'system overrides') */
    do_fully_editable?: H.In<boolean>;
  }): H.Ptr<R.ID>;
  /**
   * Create an overridden local copy of this linked data-block, and most of its dependencies when it is a Collection or and Object
   * @param scene In which scene the new overrides should be instantiated
   * @param view_layer In which view layer the new overrides should be instantiated
   * @param reference Another ID (usually an Object or Collection) used as a hint to decide where to instantiate the new overrides
   * @param do_fully_editable Make all library overrides generated by this call fully editable by the user (none will be 'system overrides')
   */
  override_hierarchy_create(kw: {
    /** In which scene the new overrides should be instantiated */
    scene: R.Scene;
    /** In which view layer the new overrides should be instantiated */
    view_layer: R.ViewLayer;
    /** Another ID (usually an Object or Collection) used as a hint to decide where to instantiate the new overrides */
    reference?: R.ID | null;
    /** Make all library overrides generated by this call fully editable by the user (none will be 'system overrides') */
    do_fully_editable?: H.In<boolean>;
  }): H.Ptr<R.ID>;
  /** Clear the user count of a data-block so its not saved, on reload the data will be removed */
  user_clear(): H.Ref<void>;
  /**
   * Replace all usage in the .blend file of this ID by new given one
   * @param new_id New ID to use
   */
  user_remap(new_id: R.ID): H.Ref<void>;
  /**
   * Replace all usage in the .blend file of this ID by new given one
   * @param new_id New ID to use
   */
  user_remap(kw: {
    /** New ID to use */
    new_id: R.ID;
  }): H.Ref<void>;
  /**
   * Make this data-block local, return local one (may be a copy of the original, in case it is also indirectly used)
   * @param clear_proxy Deprecated, has no effect
   * @param clear_liboverride Remove potential library override data from the newly made local data
   * @param clear_asset_data Remove potential asset metadata so the newly local data-block is not treated as asset data-block and won't show up in asset libraries
   */
  make_local(clear_proxy?: H.In<boolean>, clear_liboverride?: H.In<boolean>, clear_asset_data?: H.In<boolean>): H.Ptr<R.ID>;
  /**
   * Make this data-block local, return local one (may be a copy of the original, in case it is also indirectly used)
   * @param clear_proxy Deprecated, has no effect
   * @param clear_liboverride Remove potential library override data from the newly made local data
   * @param clear_asset_data Remove potential asset metadata so the newly local data-block is not treated as asset data-block and won't show up in asset libraries
   */
  make_local(kw: {
    /** Deprecated, has no effect */
    clear_proxy?: H.In<boolean>;
    /** Remove potential library override data from the newly made local data */
    clear_liboverride?: H.In<boolean>;
    /** Remove potential asset metadata so the newly local data-block is not treated as asset data-block and won't show up in asset libraries */
    clear_asset_data?: H.In<boolean>;
  }): H.Ptr<R.ID>;
  /**
   * Count the number of times that ID uses/references given one
   * @param id ID to count usages
   */
  user_of_id(id: R.ID): H.Ref<number>;
  /**
   * Count the number of times that ID uses/references given one
   * @param id ID to count usages
   */
  user_of_id(kw: {
    /** ID to count usages */
    id: R.ID;
  }): H.Ref<number>;
  /** Create animation data to this ID, note that not all ID types support this */
  animation_data_create(): H.Ptr<R.AnimData>;
  /** Clear animation on this ID */
  animation_data_clear(): H.Ref<void>;
  /**
   * Tag the ID to update its display data, e.g. when calling :class:`bpy.types.Scene.update`
   * @param refresh Type of updates to perform - `OBJECT`: Object - `DATA`: Data - `TIME`: Time
   */
  update_tag(refresh?: H.In<Set<"OBJECT" | "DATA" | "TIME">>): H.Ref<void>;
  /**
   * Tag the ID to update its display data, e.g. when calling :class:`bpy.types.Scene.update`
   * @param refresh Type of updates to perform - `OBJECT`: Object - `DATA`: Data - `TIME`: Time
   */
  update_tag(kw: {
    /**
     * Type of updates to perform
     * - `OBJECT`: Object
     * - `DATA`: Data
     * - `TIME`: Time
     */
    refresh?: H.In<Set<"OBJECT" | "DATA" | "TIME">>;
  }): H.Ref<void>;
  /** Ensure that this ID has preview data (if ID type supports it) */
  preview_ensure(): H.Ptr<R.ImagePreview>;
}

/**
 * Collection of materials
 *
 * bpy.types.IDMaterials
 */
export interface IDMaterials {
  /**
   * Add a new material to the data-block
   * @param material Material to add
   */
  append(material: R.Material): H.Ref<void>;
  /**
   * Add a new material to the data-block
   * @param material Material to add
   */
  append(kw: {
    /** Material to add */
    material: R.Material;
  }): H.Ref<void>;
  /**
   * Remove a material from the data-block
   * @param index Index of material to remove
   */
  pop(index?: H.In<number>): H.Ptr<R.Material>;
  /**
   * Remove a material from the data-block
   * @param index Index of material to remove
   */
  pop(kw: {
    /** Index of material to remove */
    index?: H.In<number>;
  }): H.Ptr<R.Material>;
  /** Remove all materials from the data-block */
  clear(): H.Ref<void>;
}

/**
 * Struct gathering all data needed by overridden linked IDs
 *
 * bpy.types.IDOverrideLibrary
 */
export interface IDOverrideLibrary extends R.bpy_struct {
  /** Linked ID used as reference by this override */
  get reference(): H.Ptr<R.ID>;
  /** Library override ID used as root of the override hierarchy this ID is a member of */
  get hierarchy_root(): H.Ptr<R.ID>;
  /** Whether this library override is defined as part of a library hierarchy, or as a single, isolated and autonomous override Default: True. */
  get is_in_hierarchy(): H.Ref<boolean>;
  set is_in_hierarchy(v: H.In<boolean>);
  /** Whether this library override exists only for the override hierarchy, or if it is actually editable by the user Default: False. */
  get is_system_override(): H.Ref<boolean>;
  set is_system_override(v: H.In<boolean>);
  /** List of overridden properties */
  readonly properties: H.Own<H.Coll<R.IDOverrideLibraryProperty> & R.IDOverrideLibraryProperties>;
  /** Update the library override operations based on the differences between this override ID and its reference */
  operations_update(): H.Ref<void>;
  /**
   * Reset this override to match again its linked reference ID
   * @param do_hierarchy Also reset all the dependencies of this override to match their reference linked IDs
   * @param set_system_override Reset all user-editable overrides as (non-editable) system overrides
   */
  reset(do_hierarchy?: H.In<boolean>, set_system_override?: H.In<boolean>): H.Ref<void>;
  /**
   * Reset this override to match again its linked reference ID
   * @param do_hierarchy Also reset all the dependencies of this override to match their reference linked IDs
   * @param set_system_override Reset all user-editable overrides as (non-editable) system overrides
   */
  reset(kw: {
    /** Also reset all the dependencies of this override to match their reference linked IDs */
    do_hierarchy?: H.In<boolean>;
    /** Reset all user-editable overrides as (non-editable) system overrides */
    set_system_override?: H.In<boolean>;
  }): H.Ref<void>;
  /**
   * Delete this override ID and remap its usages to its linked reference ID instead
   * @param do_hierarchy Also delete all the dependencies of this override and remap their usages to their reference linked IDs
   */
  destroy(do_hierarchy?: H.In<boolean>): H.Ref<void>;
  /**
   * Delete this override ID and remap its usages to its linked reference ID instead
   * @param do_hierarchy Also delete all the dependencies of this override and remap their usages to their reference linked IDs
   */
  destroy(kw: {
    /** Also delete all the dependencies of this override and remap their usages to their reference linked IDs */
    do_hierarchy?: H.In<boolean>;
  }): H.Ref<void>;
  /**
   * Resync the data-block and its sub-hierarchy, or the whole hierarchy if requested
   * @param scene The scene to operate in (for contextual things like keeping active object active, ensuring all overridden objects remain instantiated, etc.)
   * @param view_layer The view layer to operate in (same usage as the ``scene`` data, in case it is not provided the scene's collection will be used instead)
   * @param residual_storage Collection where to store objects that are instantiated in any other collection anymore (garbage collection, will be created if needed and none is provided)
   * @param do_hierarchy_enforce Enforce restoring the dependency hierarchy between data-blocks to match the one from the reference linked hierarchy (WARNING: if some ID pointers have been purposely overridden, these will be reset to their default value)
   * @param do_whole_hierarchy Resync the whole hierarchy this data-block belongs to, not only its own sub-hierarchy
   */
  resync(scene: R.Scene, view_layer?: R.ViewLayer | null, residual_storage?: R.Collection | null, do_hierarchy_enforce?: H.In<boolean>, do_whole_hierarchy?: H.In<boolean>): H.Ref<boolean>;
  /**
   * Resync the data-block and its sub-hierarchy, or the whole hierarchy if requested
   * @param scene The scene to operate in (for contextual things like keeping active object active, ensuring all overridden objects remain instantiated, etc.)
   * @param view_layer The view layer to operate in (same usage as the ``scene`` data, in case it is not provided the scene's collection will be used instead)
   * @param residual_storage Collection where to store objects that are instantiated in any other collection anymore (garbage collection, will be created if needed and none is provided)
   * @param do_hierarchy_enforce Enforce restoring the dependency hierarchy between data-blocks to match the one from the reference linked hierarchy (WARNING: if some ID pointers have been purposely overridden, these will be reset to their default value)
   * @param do_whole_hierarchy Resync the whole hierarchy this data-block belongs to, not only its own sub-hierarchy
   */
  resync(scene: R.Scene, kw: {
    /** The view layer to operate in (same usage as the ``scene`` data, in case it is not provided the scene's collection will be used instead) */
    view_layer?: R.ViewLayer | null;
    /** Collection where to store objects that are instantiated in any other collection anymore (garbage collection, will be created if needed and none is provided) */
    residual_storage?: R.Collection | null;
    /** Enforce restoring the dependency hierarchy between data-blocks to match the one from the reference linked hierarchy (WARNING: if some ID pointers have been purposely overridden, these will be reset to their default value) */
    do_hierarchy_enforce?: H.In<boolean>;
    /** Resync the whole hierarchy this data-block belongs to, not only its own sub-hierarchy */
    do_whole_hierarchy?: H.In<boolean>;
  }): H.Ref<boolean>;
  /**
   * Resync the data-block and its sub-hierarchy, or the whole hierarchy if requested
   * @param scene The scene to operate in (for contextual things like keeping active object active, ensuring all overridden objects remain instantiated, etc.)
   * @param view_layer The view layer to operate in (same usage as the ``scene`` data, in case it is not provided the scene's collection will be used instead)
   * @param residual_storage Collection where to store objects that are instantiated in any other collection anymore (garbage collection, will be created if needed and none is provided)
   * @param do_hierarchy_enforce Enforce restoring the dependency hierarchy between data-blocks to match the one from the reference linked hierarchy (WARNING: if some ID pointers have been purposely overridden, these will be reset to their default value)
   * @param do_whole_hierarchy Resync the whole hierarchy this data-block belongs to, not only its own sub-hierarchy
   */
  resync(kw: {
    /** The scene to operate in (for contextual things like keeping active object active, ensuring all overridden objects remain instantiated, etc.) */
    scene: R.Scene;
    /** The view layer to operate in (same usage as the ``scene`` data, in case it is not provided the scene's collection will be used instead) */
    view_layer?: R.ViewLayer | null;
    /** Collection where to store objects that are instantiated in any other collection anymore (garbage collection, will be created if needed and none is provided) */
    residual_storage?: R.Collection | null;
    /** Enforce restoring the dependency hierarchy between data-blocks to match the one from the reference linked hierarchy (WARNING: if some ID pointers have been purposely overridden, these will be reset to their default value) */
    do_hierarchy_enforce?: H.In<boolean>;
    /** Resync the whole hierarchy this data-block belongs to, not only its own sub-hierarchy */
    do_whole_hierarchy?: H.In<boolean>;
  }): H.Ref<boolean>;
}

/**
 * Collection of override properties
 *
 * bpy.types.IDOverrideLibraryProperties
 */
export interface IDOverrideLibraryProperties {
  /**
   * Add a property to the override library when it doesn't exist yet
   * @param rna_path RNA-Path of the property to add
   */
  add(rna_path: H.In<string>): H.Ptr<R.IDOverrideLibraryProperty>;
  /**
   * Add a property to the override library when it doesn't exist yet
   * @param rna_path RNA-Path of the property to add
   */
  add(kw: {
    /** RNA-Path of the property to add */
    rna_path: H.In<string>;
  }): H.Ptr<R.IDOverrideLibraryProperty>;
  /**
   * Remove and delete a property
   * @param property Override property to be deleted
   */
  remove(property: R.IDOverrideLibraryProperty): H.Ref<void>;
  /**
   * Remove and delete a property
   * @param property Override property to be deleted
   */
  remove(kw: {
    /** Override property to be deleted */
    property: R.IDOverrideLibraryProperty;
  }): H.Ref<void>;
}

/**
 * Description of an overridden property
 *
 * bpy.types.IDOverrideLibraryProperty
 */
export interface IDOverrideLibraryProperty extends R.bpy_struct {
  /** RNA path leading to that property, from owning ID Default: "". */
  get rna_path(): H.Ref<string>;
  /** List of overriding operations for a property */
  readonly operations: H.Own<H.Coll<R.IDOverrideLibraryPropertyOperation> & R.IDOverrideLibraryPropertyOperations>;
}

/**
 * Description of an override operation over an overridden property
 *
 * bpy.types.IDOverrideLibraryPropertyOperation
 */
export interface IDOverrideLibraryPropertyOperation extends R.bpy_struct {
  /** What override operation is performed Default: 'REPLACE'. */
  get operation(): H.Ref<E.IDOverrideLibraryPropertyOperationOperation>;
  /**
   * Status flags Default: set().
   * - `MANDATORY`: Mandatory (For templates, prevents the user from removing predefined operation (NOT USED))
   * - `LOCKED`: Locked (Prevents the user from modifying that override operation (NOT USED))
   * - `IDPOINTER_MATCH_REFERENCE`: Match Reference (The ID pointer overridden by this operation is expected to match the reference hierarchy)
   * - `IDPOINTER_ITEM_USE_ID`: ID Item Use ID Pointer (RNA collections of IDs only, the reference to the item also uses the ID pointer itself, not only its name)
   */
  get flag(): H.Ref<Set<"MANDATORY" | "LOCKED" | "IDPOINTER_MATCH_REFERENCE" | "IDPOINTER_ITEM_USE_ID">>;
  /** Used to handle changes into collection Default: "". */
  get subitem_reference_name(): H.Ref<string>;
  /** Used to handle changes into collection Default: "". */
  get subitem_local_name(): H.Ref<string>;
  /** Collection of IDs only, used to disambiguate between potential IDs with same name from different libraries */
  get subitem_reference_id(): H.Ptr<R.ID>;
  /** Collection of IDs only, used to disambiguate between potential IDs with same name from different libraries */
  get subitem_local_id(): H.Ptr<R.ID>;
  /** Used to handle changes into collection Range: -1 to 2147483647. Default: -1. */
  get subitem_reference_index(): H.Ref<number>;
  /** Used to handle changes into collection Range: -1 to 2147483647. Default: -1. */
  get subitem_local_index(): H.Ref<number>;
  /** UI label to display in dedicated view of the Outliner, in place of the actual UI widget to edit the value Default: "". */
  get label(): H.Ref<string>;
  /** UI tooltip to display in dedicated view of the Outliner, when the label itself cannot provide all required information Default: "". */
  get tooltip(): H.Ref<string>;
}

/**
 * Collection of override operations
 *
 * bpy.types.IDOverrideLibraryPropertyOperations
 */
export interface IDOverrideLibraryPropertyOperations {
  /**
   * Add a new operation
   * @param operation What override operation is performed
   * @param use_id Whether the found or created liboverride operation should use ID pointers or not
   * @param subitem_reference_name Used to handle insertions or ID replacements into collection
   * @param subitem_local_name Used to handle insertions or ID replacements into collection
   * @param subitem_reference_id Used to handle ID replacements into collection
   * @param subitem_local_id Used to handle ID replacements into collection
   * @param subitem_reference_index Used to handle insertions or ID replacements into collection
   * @param subitem_local_index Used to handle insertions or ID replacements into collection
   */
  add(operation: H.In<E.IDOverrideLibraryPropertyOperationOperation>, use_id?: H.In<boolean>, subitem_reference_name?: H.In<string>, subitem_local_name?: H.In<string>, subitem_reference_id?: R.ID | null, subitem_local_id?: R.ID | null, subitem_reference_index?: H.In<number>, subitem_local_index?: H.In<number>): H.Ptr<R.IDOverrideLibraryPropertyOperation>;
  /**
   * Add a new operation
   * @param operation What override operation is performed
   * @param use_id Whether the found or created liboverride operation should use ID pointers or not
   * @param subitem_reference_name Used to handle insertions or ID replacements into collection
   * @param subitem_local_name Used to handle insertions or ID replacements into collection
   * @param subitem_reference_id Used to handle ID replacements into collection
   * @param subitem_local_id Used to handle ID replacements into collection
   * @param subitem_reference_index Used to handle insertions or ID replacements into collection
   * @param subitem_local_index Used to handle insertions or ID replacements into collection
   */
  add(operation: H.In<E.IDOverrideLibraryPropertyOperationOperation>, kw: {
    /** Whether the found or created liboverride operation should use ID pointers or not */
    use_id?: H.In<boolean>;
    /** Used to handle insertions or ID replacements into collection */
    subitem_reference_name?: H.In<string>;
    /** Used to handle insertions or ID replacements into collection */
    subitem_local_name?: H.In<string>;
    /** Used to handle ID replacements into collection */
    subitem_reference_id?: R.ID | null;
    /** Used to handle ID replacements into collection */
    subitem_local_id?: R.ID | null;
    /** Used to handle insertions or ID replacements into collection */
    subitem_reference_index?: H.In<number>;
    /** Used to handle insertions or ID replacements into collection */
    subitem_local_index?: H.In<number>;
  }): H.Ptr<R.IDOverrideLibraryPropertyOperation>;
  /**
   * Add a new operation
   * @param operation What override operation is performed
   * @param use_id Whether the found or created liboverride operation should use ID pointers or not
   * @param subitem_reference_name Used to handle insertions or ID replacements into collection
   * @param subitem_local_name Used to handle insertions or ID replacements into collection
   * @param subitem_reference_id Used to handle ID replacements into collection
   * @param subitem_local_id Used to handle ID replacements into collection
   * @param subitem_reference_index Used to handle insertions or ID replacements into collection
   * @param subitem_local_index Used to handle insertions or ID replacements into collection
   */
  add(kw: {
    /** What override operation is performed */
    operation: H.In<E.IDOverrideLibraryPropertyOperationOperation>;
    /** Whether the found or created liboverride operation should use ID pointers or not */
    use_id?: H.In<boolean>;
    /** Used to handle insertions or ID replacements into collection */
    subitem_reference_name?: H.In<string>;
    /** Used to handle insertions or ID replacements into collection */
    subitem_local_name?: H.In<string>;
    /** Used to handle ID replacements into collection */
    subitem_reference_id?: R.ID | null;
    /** Used to handle ID replacements into collection */
    subitem_local_id?: R.ID | null;
    /** Used to handle insertions or ID replacements into collection */
    subitem_reference_index?: H.In<number>;
    /** Used to handle insertions or ID replacements into collection */
    subitem_local_index?: H.In<number>;
  }): H.Ptr<R.IDOverrideLibraryPropertyOperation>;
  /**
   * Remove and delete an operation
   * @param operation Override operation to be deleted
   */
  remove(operation: R.IDOverrideLibraryPropertyOperation): H.Ref<void>;
  /**
   * Remove and delete an operation
   * @param operation Override operation to be deleted
   */
  remove(kw: {
    /** Override operation to be deleted */
    operation: R.IDOverrideLibraryPropertyOperation;
  }): H.Ref<void>;
}

/** bpy.types.IDPropertyWrapPtr */
export interface IDPropertyWrapPtr extends R.bpy_struct {
  /**
   * DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
   * @param do_create Ensure that system properties are created if they do not exist yet
   */
  bl_system_properties_get(do_create?: H.In<boolean>): H.Ptr<R.PropertyGroup>;
  /**
   * DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
   * @param do_create Ensure that system properties are created if they do not exist yet
   */
  bl_system_properties_get(kw: {
    /** Ensure that system properties are created if they do not exist yet */
    do_create?: H.In<boolean>;
  }): H.Ptr<R.PropertyGroup>;
}

/** bpy.types.IDViewerPathElem */
export interface IDViewerPathElem extends R.ViewerPathElem {
  /** ID */
  get id(): H.Ptr<R.ID>;
}

/**
 * Base type for IK solver parameters
 *
 * bpy.types.IKParam
 */
export interface IKParam extends R.bpy_struct {
  /**
   * IK solver for which these parameters are defined Default: 'LEGACY'.
   * - `LEGACY`: Standard (Original IK solver)
   * - `ITASC`: iTaSC (Multi constraint, stateful IK solver)
   */
  get ik_solver(): H.Ref<"LEGACY" | "ITASC">;
}

/** bpy.types.IMAGE_AST_brush_paint */
export interface IMAGE_AST_brush_paint extends R.AssetShelf {

}

/** bpy.types.IMAGE_FH_drop_handler */
export interface IMAGE_FH_drop_handler extends R.FileHandler {

}

/** bpy.types.IMAGE_UL_render_slots */
export interface IMAGE_UL_render_slots extends R.UIList {

}

/** bpy.types.IMAGE_UL_udim_tiles */
export interface IMAGE_UL_udim_tiles extends R.UIList {

}

/** bpy.types.IO_FH_gltf2 */
export interface IO_FH_gltf2 extends R.FileHandler {

}

/** bpy.types.IO_FH_svg_as_curves */
export interface IO_FH_svg_as_curves extends R.FileHandler {

}

/**
 * Image data-block referencing an external or packed image
 *
 * bpy.types.Image
 */
export interface Image extends R.ID {
  /** Image/Movie file name Default: "". */
  get filepath(): H.Ref<string>;
  set filepath(v: H.In<string>);
  /** Image/Movie file name (without data refreshing) Default: "". */
  get filepath_raw(): H.Ref<string>;
  set filepath_raw(v: H.In<string>);
  /** Format used for re-saving this file Default: 'TARGA'. */
  get file_format(): H.Ref<E.ImageFileFormat>;
  set file_format(v: H.In<E.ImageFileFormat>);
  /**
   * Where the image comes from Default: 'FILE'.
   * - `FILE`: Single Image (Single image file)
   * - `SEQUENCE`: Image Sequence (Multiple image files, as a sequence)
   * - `MOVIE`: Movie (Movie file)
   * - `GENERATED`: Generated (Generated image)
   * - `VIEWER`: Viewer (Compositing node viewer)
   * - `TILED`: UDIM Tiles (Tiled UDIM image texture)
   */
  get source(): H.Ref<"FILE" | "SEQUENCE" | "MOVIE" | "GENERATED" | "VIEWER" | "TILED" | (string & {})>;
  set source(v: H.In<"FILE" | "SEQUENCE" | "MOVIE" | "GENERATED" | "VIEWER" | "TILED" | (string & {})>);
  /**
   * How to generate the image Default: 'IMAGE'.
   * - `IMAGE`: Image
   * - `MULTILAYER`: Multilayer
   * - `UV_TEST`: UV Test
   * - `RENDER_RESULT`: Render Result
   * - `COMPOSITING`: Compositing
   */
  get type(): H.Ref<"IMAGE" | "MULTILAYER" | "UV_TEST" | "RENDER_RESULT" | "COMPOSITING">;
  /** First packed file of the image */
  get packed_file(): H.Ptr<R.PackedFile>;
  /** Collection of packed images */
  readonly packed_files: H.Own<H.Coll<R.ImagePackedFile>>;
  /** Apply render part of display transformation when displaying this image on the screen Default: False. */
  get use_view_as_render(): H.Ref<boolean>;
  set use_view_as_render(v: H.In<boolean>);
  /** Deinterlace movie file on load Default: False. */
  get use_deinterlace(): H.Ref<boolean>;
  set use_deinterlace(v: H.In<boolean>);
  /** Use Multiple Views (when available) Default: False. */
  get use_multiview(): H.Ref<boolean>;
  set use_multiview(v: H.In<boolean>);
  /** Image has left and right views Default: False. */
  get is_stereo_3d(): H.Ref<boolean>;
  /** Image has more than one view Default: False. */
  get is_multiview(): H.Ref<boolean>;
  /** Image has changed and is not saved Default: False. */
  get is_dirty(): H.Ref<boolean>;
  /**
   * Generated image type Default: 'UV_GRID'.
   * - `BLANK`: Blank (Generate a blank image)
   * - `UV_GRID`: UV Grid (Generated grid to test UV mappings)
   * - `COLOR_GRID`: Color Grid (Generated improved UV grid to test UV mappings)
   */
  get generated_type(): H.Ref<"BLANK" | "UV_GRID" | "COLOR_GRID">;
  set generated_type(v: H.In<"BLANK" | "UV_GRID" | "COLOR_GRID">);
  /** Generated image width Range: 1 to 65536. Default: 1024. */
  get generated_width(): H.Ref<number>;
  set generated_width(v: H.In<number>);
  /** Generated image height Range: 1 to 65536. Default: 1024. */
  get generated_height(): H.Ref<number>;
  set generated_height(v: H.In<number>);
  /** Generate floating-point buffer Default: False. */
  get use_generated_float(): H.Ref<boolean>;
  set use_generated_float(v: H.In<boolean>);
  /** Fill color for the generated image Range: 0 to inf. Default: (0.0, 0.0, 0.0, 0.0). */
  get generated_color(): H.Arr<number>;
  set generated_color(v: H.In<readonly number[]>);
  /** Display Aspect for this image, does not affect rendering Range: 0.10000000149011612 to inf. Default: (1.0, 1.0). */
  get display_aspect(): H.Remote<M.Vector>;
  set display_aspect(v: H.In<M.VectorLike>);
  /** Render slots of the image */
  readonly render_slots: H.Own<H.Coll<R.RenderSlot> & R.RenderSlots>;
  /** Tiles of the image */
  readonly tiles: H.Own<H.Coll<R.UDIMTile> & R.UDIMTiles>;
  /** True if the image data is loaded into memory Default: False. */
  get has_data(): H.Ref<boolean>;
  /** Image bit depth Range: 0 to 2147483647. Default: 0. */
  get depth(): H.Ref<number>;
  /** Width and height of the image buffer in pixels, zero when image data cannot be loaded Range: -2147483648 to 2147483647. Default: (0, 0). */
  get size(): H.Arr<number>;
  /** X/Y pixels per meter, for the image buffer Default: (0.0, 0.0). */
  get resolution(): H.Remote<M.Vector>;
  set resolution(v: H.In<M.VectorLike>);
  /** Duration (in frames) of the image (1 when not a video/sequence) Range: 0 to 2147483647. Default: 0. */
  get frame_duration(): H.Ref<number>;
  /** Image buffer pixels in floating-point values Default: 0.0. */
  get pixels(): H.Arr<number>;
  set pixels(v: H.In<readonly number[]>);
  /** Number of channels in pixels buffer Range: 0 to 2147483647. Default: 0. */
  get channels(): H.Ref<number>;
  /** True if this image is stored in floating-point buffer Default: False. */
  get is_float(): H.Ref<boolean>;
  /** Input color space settings */
  get colorspace_settings(): H.Ptr<R.ColorManagedInputColorspaceSettings>;
  /**
   * Representation of alpha in the image file, to convert to and from when saving and loading the image Default: 'STRAIGHT'.
   * - `STRAIGHT`: Straight (Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG.)
   * - `PREMUL`: Premultiplied (Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR.)
   * - `CHANNEL_PACKED`: Channel Packed (Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory.)
   * - `NONE`: None (Ignore alpha channel from the file and make image fully opaque)
   */
  get alpha_mode(): H.Ref<"STRAIGHT" | "PREMUL" | "CHANNEL_PACKED" | "NONE">;
  set alpha_mode(v: H.In<"STRAIGHT" | "PREMUL" | "CHANNEL_PACKED" | "NONE">);
  /**
   * Use 16 bits per channel to lower the memory usage during rendering.
   * Note: Not supported by Cycles Default: True.
   */
  get use_half_precision(): H.Ref<boolean>;
  set use_half_precision(v: H.In<boolean>);
  /** Margin to take into account when fixing UV seams during painting. Higher number would improve seam-fixes for mipmaps, but decreases performance. Range: -32768 to 32767. Default: 8. */
  get seam_margin(): H.Ref<number>;
  set seam_margin(v: H.In<number>);
  /**
   * Mode to load image views Default: 'INDIVIDUAL'.
   * - `INDIVIDUAL`: Individual (Individual files for each view with the prefix as defined by the scene views)
   * - `STEREO_3D`: Stereo 3D (Single file with an encoded stereo pair)
   */
  get views_format(): H.Ref<"INDIVIDUAL" | "STEREO_3D">;
  set views_format(v: H.In<"INDIVIDUAL" | "STEREO_3D">);
  /** Settings for stereo 3d */
  get stereo_3d_format(): H.Own<R.Stereo3dFormat>;
  /**
   * Save image to a specific path using a scenes render settings
   * @param filepath Output path
   * @param scene Scene to take image parameters from
   * @param quality Quality for image formats that support lossy compression, uses default quality if not specified
   */
  save_render(filepath: H.In<string>, scene?: R.Scene | null, quality?: H.In<number>): H.Ref<void>;
  /**
   * Save image to a specific path using a scenes render settings
   * @param filepath Output path
   * @param scene Scene to take image parameters from
   * @param quality Quality for image formats that support lossy compression, uses default quality if not specified
   */
  save_render(filepath: H.In<string>, kw: {
    /** Scene to take image parameters from */
    scene?: R.Scene | null;
    /** Quality for image formats that support lossy compression, uses default quality if not specified */
    quality?: H.In<number>;
  }): H.Ref<void>;
  /**
   * Save image to a specific path using a scenes render settings
   * @param filepath Output path
   * @param scene Scene to take image parameters from
   * @param quality Quality for image formats that support lossy compression, uses default quality if not specified
   */
  save_render(kw: {
    /** Output path */
    filepath: H.In<string>;
    /** Scene to take image parameters from */
    scene?: R.Scene | null;
    /** Quality for image formats that support lossy compression, uses default quality if not specified */
    quality?: H.In<number>;
  }): H.Ref<void>;
  /**
   * Save image
   * @param filepath Output path, uses image data-block filepath if not specified
   * @param quality Quality for image formats that support lossy compression, uses default quality if not specified
   * @param save_copy Save the image as a copy, without updating current image's filepath
   */
  save(filepath?: H.In<string>, quality?: H.In<number>, save_copy?: H.In<boolean>): H.Ref<void>;
  /**
   * Save image
   * @param filepath Output path, uses image data-block filepath if not specified
   * @param quality Quality for image formats that support lossy compression, uses default quality if not specified
   * @param save_copy Save the image as a copy, without updating current image's filepath
   */
  save(kw: {
    /** Output path, uses image data-block filepath if not specified */
    filepath?: H.In<string>;
    /** Quality for image formats that support lossy compression, uses default quality if not specified */
    quality?: H.In<number>;
    /** Save the image as a copy, without updating current image's filepath */
    save_copy?: H.In<boolean>;
  }): H.Ref<void>;
  /**
   * Pack an image as embedded data into the .blend file
   * @param data Raw data (bytes, exact content of the embedded file)
   * @param data_len length of given data (mandatory if data is provided)
   */
  pack(data?: H.In<string>, data_len?: H.In<number>): H.Ref<void>;
  /**
   * Pack an image as embedded data into the .blend file
   * @param data Raw data (bytes, exact content of the embedded file)
   * @param data_len length of given data (mandatory if data is provided)
   */
  pack(kw: {
    /** Raw data (bytes, exact content of the embedded file) */
    data?: H.In<string>;
    /** length of given data (mandatory if data is provided) */
    data_len?: H.In<number>;
  }): H.Ref<void>;
  /**
   * Save an image packed in the .blend file to disk
   * @param method How to unpack - `REMOVE`: Remove Pack - `USE_LOCAL`: Use Local File - `WRITE_LOCAL`: Write Local File (overwrite existing) - `USE_ORIGINAL`: Use Original File - `WRITE_ORIGINAL`: Write Original File (overwrite existing)
   */
  unpack(method?: H.In<"REMOVE" | "USE_LOCAL" | "WRITE_LOCAL" | "USE_ORIGINAL" | "WRITE_ORIGINAL">): H.Ref<void>;
  /**
   * Save an image packed in the .blend file to disk
   * @param method How to unpack - `REMOVE`: Remove Pack - `USE_LOCAL`: Use Local File - `WRITE_LOCAL`: Write Local File (overwrite existing) - `USE_ORIGINAL`: Use Original File - `WRITE_ORIGINAL`: Write Original File (overwrite existing)
   */
  unpack(kw: {
    /**
     * How to unpack
     * - `REMOVE`: Remove Pack
     * - `USE_LOCAL`: Use Local File
     * - `WRITE_LOCAL`: Write Local File (overwrite existing)
     * - `USE_ORIGINAL`: Use Original File
     * - `WRITE_ORIGINAL`: Write Original File (overwrite existing)
     */
    method?: H.In<"REMOVE" | "USE_LOCAL" | "WRITE_LOCAL" | "USE_ORIGINAL" | "WRITE_ORIGINAL">;
  }): H.Ref<void>;
  /** Reload the image from its source path */
  reload(): H.Ref<void>;
  /** Update the display image from the floating-point buffer */
  update(): H.Ref<void>;
  /**
   * Scale the buffer of the image, in pixels
   * @param width Width
   * @param height Height
   * @param frame Frame (for image sequences)
   * @param tile_index Tile index (for tiled images)
   */
  scale(width: H.In<number>, height: H.In<number>, frame?: H.In<number>, tile_index?: H.In<number>): H.Ref<void>;
  /**
   * Scale the buffer of the image, in pixels
   * @param width Width
   * @param height Height
   * @param frame Frame (for image sequences)
   * @param tile_index Tile index (for tiled images)
   */
  scale(width: H.In<number>, height: H.In<number>, kw: {
    /** Frame (for image sequences) */
    frame?: H.In<number>;
    /** Tile index (for tiled images) */
    tile_index?: H.In<number>;
  }): H.Ref<void>;
  /**
   * Scale the buffer of the image, in pixels
   * @param width Width
   * @param height Height
   * @param frame Frame (for image sequences)
   * @param tile_index Tile index (for tiled images)
   */
  scale(kw: {
    /** Width */
    width: H.In<number>;
    /** Height */
    height: H.In<number>;
    /** Frame (for image sequences) */
    frame?: H.In<number>;
    /** Tile index (for tiled images) */
    tile_index?: H.In<number>;
  }): H.Ref<void>;
  /**
   * Delay the image from being cleaned from the cache due inactivity
   * @param frame Frame of image sequence or movie
   * @param layer_index Index of layer that should be loaded
   * @param pass_index Index of pass that should be loaded
   */
  gl_touch(frame?: H.In<number>, layer_index?: H.In<number>, pass_index?: H.In<number>): H.Ref<number>;
  /**
   * Delay the image from being cleaned from the cache due inactivity
   * @param frame Frame of image sequence or movie
   * @param layer_index Index of layer that should be loaded
   * @param pass_index Index of pass that should be loaded
   */
  gl_touch(kw: {
    /** Frame of image sequence or movie */
    frame?: H.In<number>;
    /** Index of layer that should be loaded */
    layer_index?: H.In<number>;
    /** Index of pass that should be loaded */
    pass_index?: H.In<number>;
  }): H.Ref<number>;
  /**
   * Load the image into an OpenGL texture. On success, image.bindcode will contain the OpenGL texture bindcode. Colors read from the texture will be in scene linear color space and have premultiplied or straight alpha matching the image alpha mode.
   * @param frame Frame of image sequence or movie
   * @param layer_index Index of layer that should be loaded
   * @param pass_index Index of pass that should be loaded
   */
  gl_load(frame?: H.In<number>, layer_index?: H.In<number>, pass_index?: H.In<number>): H.Ref<number>;
  /**
   * Load the image into an OpenGL texture. On success, image.bindcode will contain the OpenGL texture bindcode. Colors read from the texture will be in scene linear color space and have premultiplied or straight alpha matching the image alpha mode.
   * @param frame Frame of image sequence or movie
   * @param layer_index Index of layer that should be loaded
   * @param pass_index Index of pass that should be loaded
   */
  gl_load(kw: {
    /** Frame of image sequence or movie */
    frame?: H.In<number>;
    /** Index of layer that should be loaded */
    layer_index?: H.In<number>;
    /** Index of pass that should be loaded */
    pass_index?: H.In<number>;
  }): H.Ref<number>;
  /** Free the image from OpenGL graphics memory */
  gl_free(): H.Ref<void>;
  /**
   * Return the absolute path to the filepath of an image frame specified by the image user
   * @param image_user Image user of the image to get filepath for
   */
  filepath_from_user(image_user?: R.ImageUser | null): H.Ref<string>;
  /**
   * Return the absolute path to the filepath of an image frame specified by the image user
   * @param image_user Image user of the image to get filepath for
   */
  filepath_from_user(kw: {
    /** Image user of the image to get filepath for */
    image_user?: R.ImageUser | null;
  }): H.Ref<string>;
  /** Free the image buffers from memory */
  buffers_free(): H.Ref<void>;
}

/**
 * Settings for image formats
 *
 * bpy.types.ImageFormatSettings (in Scene)
 */
export interface ImageFormatSettings extends R.bpy_struct {
  /**
   * The type of media to save Default: 'IMAGE'.
   * - `IMAGE`: Image
   * - `MULTI_LAYER_IMAGE`: Multi-Layer EXR
   * - `VIDEO`: Video
   */
  get media_type(): H.Ref<"IMAGE" | "MULTI_LAYER_IMAGE" | "VIDEO" | (string & {})>;
  set media_type(v: H.In<"IMAGE" | "MULTI_LAYER_IMAGE" | "VIDEO" | (string & {})>);
  /** File format to save the rendered images as Default: 'PNG'. */
  get file_format(): H.Ref<E.ImageFileFormat | (string & {})>;
  set file_format(v: H.In<E.ImageFileFormat | (string & {})>);
  /**
   * Choose BW for saving grayscale images, RGB for saving red, green and blue channels, and RGBA for saving red, green, blue and alpha channels Default: 'RGBA'.
   * - `BW`: BW (Images get saved in 8-bit grayscale (only PNG, JPEG, TGA, TIF))
   * - `RGB`: RGB (Images are saved with RGB (color) data)
   * - `RGBA`: RGBA (Images are saved with RGB and Alpha data (if supported))
   */
  get color_mode(): H.Ref<"BW" | "RGB" | "RGBA" | (string & {})>;
  set color_mode(v: H.In<"BW" | "RGB" | "RGBA" | (string & {})>);
  /**
   * Bit depth per channel Default: '8'.
   * - `8`: 8 (8-bit color channels)
   * - `10`: 10 (10-bit color channels)
   * - `12`: 12 (12-bit color channels)
   * - `16`: 16 (16-bit color channels)
   * - `32`: 32 (32-bit color channels)
   */
  get color_depth(): H.Ref<"8" | "10" | "12" | "16" | "32" | (string & {})>;
  set color_depth(v: H.In<"8" | "10" | "12" | "16" | "32" | (string & {})>);
  /** Quality for image formats that support lossy compression Range: 0 to 100. Default: 90. */
  get quality(): H.Ref<number>;
  set quality(v: H.In<number>);
  /** Amount of time to determine best compression: 0 = no compression with fast file output, 100 = maximum lossless compression with slow file output Range: 0 to 100. Default: 15. */
  get compression(): H.Ref<number>;
  set compression(v: H.In<number>);
  /** When rendering animations, save JPG preview images in same directory Default: False. */
  get use_preview(): H.Ref<boolean>;
  set use_preview(v: H.In<boolean>);
  /** Compression codec settings for OpenEXR Default: 'NONE'. */
  get exr_codec(): H.Ref<E.ImageFormatSettingsExrCodec | (string & {})>;
  set exr_codec(v: H.In<E.ImageFormatSettingsExrCodec | (string & {})>);
  /** Use legacy interleaved storage of views, layers and passes for compatibility with applications that do not support more efficient multi-part OpenEXR files. Default: False. */
  get use_exr_interleave(): H.Ref<boolean>;
  set use_exr_interleave(v: H.In<boolean>);
  /** Save luminance-chrominance-chrominance channels instead of RGB colors Default: False. */
  get use_jpeg2k_ycc(): H.Ref<boolean>;
  set use_jpeg2k_ycc(v: H.In<boolean>);
  /** Use OpenJPEG Cinema Preset Default: False. */
  get use_jpeg2k_cinema_preset(): H.Ref<boolean>;
  set use_jpeg2k_cinema_preset(v: H.In<boolean>);
  /** Use OpenJPEG Cinema Preset (48fps) Default: False. */
  get use_jpeg2k_cinema_48(): H.Ref<boolean>;
  set use_jpeg2k_cinema_48(v: H.In<boolean>);
  /**
   * Codec settings for JPEG 2000 Default: 'JP2'.
   * - `JP2`: JP2
   * - `J2K`: J2K
   */
  get jpeg2k_codec(): H.Ref<"JP2" | "J2K">;
  set jpeg2k_codec(v: H.In<"JP2" | "J2K">);
  /**
   * Compression mode for TIFF Default: 'DEFLATE'.
   * - `NONE`: None
   * - `DEFLATE`: Deflate
   * - `LZW`: LZW
   * - `PACKBITS`: Pack Bits
   */
  get tiff_codec(): H.Ref<"NONE" | "DEFLATE" | "LZW" | "PACKBITS">;
  set tiff_codec(v: H.In<"NONE" | "DEFLATE" | "LZW" | "PACKBITS">);
  /** Convert to logarithmic color space Default: False. */
  get use_cineon_log(): H.Ref<boolean>;
  set use_cineon_log(v: H.In<boolean>);
  /** Log conversion reference blackpoint Range: 0 to 1024. Default: 0. */
  get cineon_black(): H.Ref<number>;
  set cineon_black(v: H.In<number>);
  /** Log conversion reference whitepoint Range: 0 to 1024. Default: 0. */
  get cineon_white(): H.Ref<number>;
  set cineon_white(v: H.In<number>);
  /** Log conversion gamma Range: 0 to 10. Default: 0.0. */
  get cineon_gamma(): H.Ref<number>;
  set cineon_gamma(v: H.In<number>);
  /**
   * Format of multiview media Default: 'INDIVIDUAL'.
   * - `INDIVIDUAL`: Individual (Individual files for each view with the prefix as defined by the scene views)
   * - `STEREO_3D`: Stereo 3D (Single file with an encoded stereo pair)
   * - `MULTIVIEW`: Multi-View (Single file with all the views)
   */
  get views_format(): H.Ref<"INDIVIDUAL" | "STEREO_3D" | "MULTIVIEW" | (string & {})>;
  set views_format(v: H.In<"INDIVIDUAL" | "STEREO_3D" | "MULTIVIEW" | (string & {})>);
  /** Settings for stereo 3D */
  get stereo_3d_format(): H.Own<R.Stereo3dFormat>;
  /**
   * Which color management settings to use for file saving Default: 'FOLLOW_SCENE'.
   * - `FOLLOW_SCENE`: Follow Scene
   * - `OVERRIDE`: Override
   */
  get color_management(): H.Ref<"FOLLOW_SCENE" | "OVERRIDE">;
  set color_management(v: H.In<"FOLLOW_SCENE" | "OVERRIDE">);
  /** Color management settings applied on image before saving */
  get view_settings(): H.Ptr<R.ColorManagedViewSettings>;
  /** Settings of device saved image would be displayed on */
  get display_settings(): H.Ptr<R.ColorManagedDisplaySettings>;
  /** Output color space settings */
  get linear_colorspace_settings(): H.Ptr<R.ColorManagedInputColorspaceSettings>;
  /** File format expects linear color space Default: False. */
  get has_linear_colorspace(): H.Ref<boolean>;
}

/** bpy.types.ImagePackedFile */
export interface ImagePackedFile extends R.bpy_struct {
  /** Packed File */
  get packed_file(): H.Ptr<R.PackedFile>;
  /** Default: "". */
  get filepath(): H.Ref<string>;
  set filepath(v: H.In<string>);
  /** View Index Range: -2147483648 to 2147483647. Default: 0. */
  get view(): H.Ref<number>;
  /** Tile Number Range: -2147483648 to 2147483647. Default: 0. */
  get tile_number(): H.Ref<number>;
  /** Save the packed file to its filepath */
  save(): H.Ref<void>;
}

/**
 * Properties of image and texture painting mode
 *
 * bpy.types.ImagePaint
 */
export interface ImagePaint extends R.Paint {
  /** Only paint onto the faces directly under the brush (slower) Default: True. */
  get use_occlude(): H.Ref<boolean>;
  set use_occlude(v: H.In<boolean>);
  /** Ignore faces pointing away from the view (faster) Default: True. */
  get use_backface_culling(): H.Ref<boolean>;
  set use_backface_culling(v: H.In<boolean>);
  /** Paint most on faces pointing towards the view Default: True. */
  get use_normal_falloff(): H.Ref<boolean>;
  set use_normal_falloff(v: H.In<boolean>);
  /** Set the mask layer from the UV map buttons Default: False. */
  get use_stencil_layer(): H.Ref<boolean>;
  set use_stencil_layer(v: H.In<boolean>);
  /** Invert the stencil layer Default: False. */
  get invert_stencil(): H.Ref<boolean>;
  set invert_stencil(v: H.In<boolean>);
  /** Image used as stencil */
  get stencil_image(): H.Ptr<R.Image>;
  set stencil_image(v: R.Image | null);
  /** Image used as canvas */
  get canvas(): H.Ptr<R.Image>;
  set canvas(v: R.Image | null);
  /** Image used as clone source */
  get clone_image(): H.Ptr<R.Image>;
  set clone_image(v: R.Image | null);
  /** Stencil color in the viewport Range: 0 to 1. Default: (0.0, 0.0, 0.0). */
  get stencil_color(): H.Remote<M.Color>;
  set stencil_color(v: H.In<M.Color | readonly number[]>);
  /** Amount of dithering when painting on byte images Range: 0 to 2. Default: 0.0. */
  get dither(): H.Ref<number>;
  set dither(v: H.In<number>);
  /** Use another UV map as clone source, otherwise use the 3D cursor as the source Default: False. */
  get use_clone_layer(): H.Ref<boolean>;
  set use_clone_layer(v: H.In<boolean>);
  /** Extend paint beyond the faces' UVs to reduce seams (in pixels, slower) Range: -32768 to 32767. Default: 2. */
  get seam_bleed(): H.Ref<number>;
  set seam_bleed(v: H.In<number>);
  /** Paint most on faces pointing towards the view according to this angle Range: 0 to 90. Default: 80. */
  get normal_angle(): H.Ref<number>;
  set normal_angle(v: H.In<number>);
  /** Size to capture the image for re-projecting Range: 512 to 16384. Default: (0, 0). */
  get screen_grab_size(): H.Arr<number>;
  set screen_grab_size(v: H.In<readonly number[]>);
  /**
   * Mode of operation for projection painting Default: 'MATERIAL'.
   * - `MATERIAL`: Material (Detect image slots from the material)
   * - `IMAGE`: Single Image (Set image for texture painting directly)
   */
  get mode(): H.Ref<"MATERIAL" | "IMAGE">;
  set mode(v: H.In<"MATERIAL" | "IMAGE">);
  /**
   * Texture filtering type Default: 'LINEAR'.
   * - `LINEAR`: Linear (Linear interpolation)
   * - `CLOSEST`: Closest (No interpolation (sample closest texel))
   */
  get interpolation(): H.Ref<"LINEAR" | "CLOSEST">;
  set interpolation(v: H.In<"LINEAR" | "CLOSEST">);
  /** A UV layer is missing on the mesh Default: False. */
  get missing_uvs(): H.Ref<boolean>;
  /** The mesh is missing materials Default: False. */
  get missing_materials(): H.Ref<boolean>;
  /** Image Painting does not have a stencil Default: False. */
  get missing_stencil(): H.Ref<boolean>;
  /** Image Painting does not have a texture to paint on Default: False. */
  get missing_texture(): H.Ref<boolean>;
  /** Opacity of clone image display Range: 0 to 1. Default: 0.5. */
  get clone_alpha(): H.Ref<number>;
  set clone_alpha(v: H.In<number>);
  /** Clone Offset Default: (0.0, 0.0). */
  get clone_offset(): H.Remote<M.Vector>;
  set clone_offset(v: H.In<M.VectorLike>);
  /** Check if required texpaint data exist */
  detect_data(): H.Ref<boolean>;
}

/**
 * Preview image and icon
 *
 * bpy.types.ImagePreview
 */
export interface ImagePreview extends R.bpy_struct {
  /** True if this preview image has been modified by py script, and is no more auto-generated by Blender Default: False. */
  get is_image_custom(): H.Ref<boolean>;
  set is_image_custom(v: H.In<boolean>);
  /** Width and height in pixels Range: -2147483648 to 2147483647. Default: (0, 0). */
  get image_size(): H.Arr<number>;
  set image_size(v: H.In<readonly number[]>);
  /** Image pixels, as bytes (always 32-bit RGBA) Range: -2147483648 to 2147483647. Default: 0. */
  get image_pixels(): H.Arr<number>;
  set image_pixels(v: H.In<readonly number[]>);
  /** Image pixels components, as floats (RGBA concatenated values) Default: 0.0. */
  get image_pixels_float(): H.Arr<number>;
  set image_pixels_float(v: H.In<readonly number[]>);
  /** True if this preview icon has been modified by py script, and is no more auto-generated by Blender Default: False. */
  get is_icon_custom(): H.Ref<boolean>;
  set is_icon_custom(v: H.In<boolean>);
  /** Width and height in pixels Range: -2147483648 to 2147483647. Default: (0, 0). */
  get icon_size(): H.Arr<number>;
  set icon_size(v: H.In<readonly number[]>);
  /** Icon pixels, as bytes (always 32-bit RGBA) Range: -2147483648 to 2147483647. Default: 0. */
  get icon_pixels(): H.Arr<number>;
  set icon_pixels(v: H.In<readonly number[]>);
  /** Icon pixels components, as floats (RGBA concatenated values) Default: 0.0. */
  get icon_pixels_float(): H.Arr<number>;
  set icon_pixels_float(v: H.In<readonly number[]>);
  /** Unique integer identifying this preview as an icon (zero means invalid) Range: -2147483648 to 2147483647. Default: 0. */
  get icon_id(): H.Ref<number>;
  /** Reload the preview from its source path */
  reload(): H.Ref<void>;
}

/**
 * Sequence strip to load one or more images
 *
 * bpy.types.ImageStrip
 */
export interface ImageStrip extends R.Strip {
  /** Directory Default: "". */
  get directory(): H.Ref<string>;
  set directory(v: H.In<string>);
  /** Elements */
  readonly elements: H.Own<H.Coll<R.StripElement> & R.StripElements>;
  /** Retiming Keys */
  readonly retiming_keys: H.Own<H.Coll<R.RetimingKey> & R.RetimingKeys>;
  /** Use Multiple Views (when available) Default: False. */
  get use_multiview(): H.Ref<boolean>;
  set use_multiview(v: H.In<boolean>);
  /**
   * Mode to load image views Default: 'INDIVIDUAL'.
   * - `INDIVIDUAL`: Individual (Individual files for each view with the prefix as defined by the scene views)
   * - `STEREO_3D`: Stereo 3D (Single file with an encoded stereo pair)
   */
  get views_format(): H.Ref<"INDIVIDUAL" | "STEREO_3D">;
  set views_format(v: H.In<"INDIVIDUAL" | "STEREO_3D">);
  /** Settings for stereo 3D */
  get stereo_3d_format(): H.Own<R.Stereo3dFormat>;
  /** Remove fields from video movies Default: False. */
  get use_deinterlace(): H.Ref<boolean>;
  set use_deinterlace(v: H.In<boolean>);
  /**
   * Representation of alpha information in the RGBA pixels Default: 'STRAIGHT'.
   * - `STRAIGHT`: Straight (RGB channels in transparent pixels are unaffected by the alpha channel)
   * - `PREMUL`: Premultiplied (RGB channels in transparent pixels are multiplied by the alpha channel)
   */
  get alpha_mode(): H.Ref<"STRAIGHT" | "PREMUL">;
  set alpha_mode(v: H.In<"STRAIGHT" | "PREMUL">);
  /** Flip on the X axis Default: False. */
  get use_flip_x(): H.Ref<boolean>;
  set use_flip_x(v: H.In<boolean>);
  /** Flip on the Y axis Default: False. */
  get use_flip_y(): H.Ref<boolean>;
  set use_flip_y(v: H.In<boolean>);
  /** Convert input to float data Default: False. */
  get use_float(): H.Ref<boolean>;
  set use_float(v: H.In<boolean>);
  /** Reverse frame order Default: False. */
  get use_reverse_frames(): H.Ref<boolean>;
  set use_reverse_frames(v: H.In<boolean>);
  /** Multiply Colors Range: 0 to 20. Default: 1.0. */
  get color_multiply(): H.Ref<number>;
  set color_multiply(v: H.In<number>);
  /** Multiply alpha along with color channels Default: False. */
  get multiply_alpha(): H.Ref<boolean>;
  set multiply_alpha(v: H.In<boolean>);
  /** Adjust the intensity of the input's color Range: 0 to 20. Default: 1.0. */
  get color_saturation(): H.Ref<number>;
  set color_saturation(v: H.In<number>);
  /** Only display every nth frame Range: 1 to 30. Default: 0.0. */
  get strobe(): H.Ref<number>;
  set strobe(v: H.In<number>);
  /** Transform */
  get transform(): H.Ptr<R.StripTransform>;
  /** Crop */
  get crop(): H.Ptr<R.StripCrop>;
  /** Use a preview proxy for this strip Default: False. */
  get use_proxy(): H.Ref<boolean>;
  set use_proxy(v: H.In<boolean>);
  /** Proxy */
  get proxy(): H.Ptr<R.StripProxy>;
  /** Animation start offset (trim start) Range: 0 to 2147483647. Default: 0. @deprecated Replaced by '.content_trim_start'. (5, 10, 0) (6, 0, 0) */
  get animation_offset_start(): H.Ref<number>;
  set animation_offset_start(v: H.In<number>);
  /** Number of frames to ignore from the start of the underlying source. The source content is trimmed, and previous frames are turned into holds Range: 0 to 2147483647. Default: 0. */
  get content_trim_start(): H.Ref<number>;
  set content_trim_start(v: H.In<number>);
  /** Animation end offset (trim end) Range: 0 to 2147483647. Default: 0. @deprecated Replaced by '.content_trim_end'. (5, 10, 0) (6, 0, 0) */
  get animation_offset_end(): H.Ref<number>;
  set animation_offset_end(v: H.In<number>);
  /** Number of frames to ignore from the end of the underlying source. The source content is trimmed, and future frames are turned into holds Range: 0 to 2147483647. Default: 0. */
  get content_trim_end(): H.Ref<number>;
  set content_trim_end(v: H.In<number>);
  /** Input color space settings */
  get colorspace_settings(): H.Ptr<R.ColorManagedInputColorspaceSettings>;
}

/** bpy.types.ImageTexture */
export interface ImageTexture extends R.Texture {
  /** Interpolate pixels using selected filter Default: True. */
  get use_interpolation(): H.Ref<boolean>;
  set use_interpolation(v: H.In<boolean>);
  /** Flip the texture's X and Y axis Default: False. */
  get use_flip_axis(): H.Ref<boolean>;
  set use_flip_axis(v: H.In<boolean>);
  /** Use the alpha channel information in the image Default: True. */
  get use_alpha(): H.Ref<boolean>;
  set use_alpha(v: H.In<boolean>);
  /** Calculate an alpha channel based on RGB values in the image Default: False. */
  get use_calculate_alpha(): H.Ref<boolean>;
  set use_calculate_alpha(v: H.In<boolean>);
  /** Invert all the alpha values in the image Default: False. */
  get invert_alpha(): H.Ref<boolean>;
  set invert_alpha(v: H.In<boolean>);
  /** Multiply the filter size used by interpolation Range: 0.10000000149011612 to 50. Default: 1.0. */
  get filter_size(): H.Ref<number>;
  set filter_size(v: H.In<number>);
  /**
   * How the image is extrapolated past its original bounds Default: 'REPEAT'.
   * - `EXTEND`: Extend (Extend by repeating edge pixels of the image)
   * - `CLIP`: Clip (Clip to image size and set exterior pixels as transparent)
   * - `CLIP_CUBE`: Clip Cube (Clip to cubic-shaped area around the image and set exterior pixels as transparent)
   * - `REPEAT`: Repeat (Cause the image to repeat horizontally and vertically)
   * - `CHECKER`: Checker (Cause the image to repeat in checker board pattern)
   */
  get extension(): H.Ref<"EXTEND" | "CLIP" | "CLIP_CUBE" | "REPEAT" | "CHECKER">;
  set extension(v: H.In<"EXTEND" | "CLIP" | "CLIP_CUBE" | "REPEAT" | "CHECKER">);
  /** Repetition multiplier in the X direction Range: 1 to 512. Default: 1. */
  get repeat_x(): H.Ref<number>;
  set repeat_x(v: H.In<number>);
  /** Repetition multiplier in the Y direction Range: 1 to 512. Default: 1. */
  get repeat_y(): H.Ref<number>;
  set repeat_y(v: H.In<number>);
  /** Mirror the image repetition on the X direction Default: False. */
  get use_mirror_x(): H.Ref<boolean>;
  set use_mirror_x(v: H.In<boolean>);
  /** Mirror the image repetition on the Y direction Default: False. */
  get use_mirror_y(): H.Ref<boolean>;
  set use_mirror_y(v: H.In<boolean>);
  /** Odd checker tiles Default: True. */
  get use_checker_odd(): H.Ref<boolean>;
  set use_checker_odd(v: H.In<boolean>);
  /** Even checker tiles Default: False. */
  get use_checker_even(): H.Ref<boolean>;
  set use_checker_even(v: H.In<boolean>);
  /** Distance between checker tiles Range: 0 to 0.9900000095367432. Default: 0.0. */
  get checker_distance(): H.Ref<number>;
  set checker_distance(v: H.In<number>);
  /** Minimum X value to crop the image Range: -10 to 10. Default: 0.0. */
  get crop_min_x(): H.Ref<number>;
  set crop_min_x(v: H.In<number>);
  /** Minimum Y value to crop the image Range: -10 to 10. Default: 0.0. */
  get crop_min_y(): H.Ref<number>;
  set crop_min_y(v: H.In<number>);
  /** Maximum X value to crop the image Range: -10 to 10. Default: 1.0. */
  get crop_max_x(): H.Ref<number>;
  set crop_max_x(v: H.In<number>);
  /** Maximum Y value to crop the image Range: -10 to 10. Default: 1.0. */
  get crop_max_y(): H.Ref<number>;
  set crop_max_y(v: H.In<number>);
  /** Image */
  get image(): H.Ptr<R.Image>;
  set image(v: R.Image | null);
  /** Parameters defining which layer, pass and frame of the image is displayed */
  get image_user(): H.Ptr<R.ImageUser>;
  /** Use image RGB values for normal mapping Default: False. */
  get use_normal_map(): H.Ref<boolean>;
  set use_normal_map(v: H.In<boolean>);
}

/**
 * Parameters defining how an Image data-block is used by another data-block
 *
 * bpy.types.ImageUser
 */
export interface ImageUser extends R.bpy_struct {
  /** Always refresh image on frame changes Default: False. */
  get use_auto_refresh(): H.Ref<boolean>;
  set use_auto_refresh(v: H.In<boolean>);
  /** Current frame number in image sequence or movie Range: -1048574 to 1048574. Default: 0. */
  get frame_current(): H.Ref<number>;
  set frame_current(v: H.In<number>);
  /** Cycle the images in the movie Default: False. */
  get use_cyclic(): H.Ref<boolean>;
  set use_cyclic(v: H.In<boolean>);
  /** Number of images of a movie to use Range: 0 to 1048574. Default: 0. */
  get frame_duration(): H.Ref<number>;
  set frame_duration(v: H.In<number>);
  /** Offset the number of the frame to use in the animation Range: -2147483648 to 2147483647. Default: 0. */
  get frame_offset(): H.Ref<number>;
  set frame_offset(v: H.In<number>);
  /** Global starting frame of the movie/sequence, assuming first picture has a #1 Range: -1048574 to 1048574. Default: 0. */
  get frame_start(): H.Ref<number>;
  set frame_start(v: H.In<number>);
  /** Layer in multilayer image Range: 0 to 32767. Default: 0. */
  get multilayer_layer(): H.Ref<number>;
  /** Pass in multilayer image Range: 0 to 32767. Default: 0. */
  get multilayer_pass(): H.Ref<number>;
  /** View in multilayer image Range: 0 to 32767. Default: 0. */
  get multilayer_view(): H.Ref<number>;
  /** Tile in tiled image Range: 0 to 2147483647. Default: 0. */
  get tile(): H.Ref<number>;
  set tile(v: H.In<number>);
}

/** bpy.types.IndexSwitchItem */
export interface IndexSwitchItem extends R.bpy_struct {
  /** Consistent identifier used for the item Range: -2147483648 to 2147483647. Default: 0. */
  get identifier(): H.Ref<number>;
}

/**
 * Geometry attribute that stores 2D integer vectors
 *
 * bpy.types.Int2Attribute
 */
export interface Int2Attribute extends R.Attribute {
  readonly data: H.Own<H.Coll<R.Int2AttributeValue>>;
}

/**
 * 2D value in geometry attribute
 *
 * bpy.types.Int2AttributeValue
 */
export interface Int2AttributeValue extends R.bpy_struct {
  /** 2D vector Range: -2147483648 to 2147483647. Default: (0, 0). */
  get value(): H.Arr<number>;
  set value(v: H.In<readonly number[]>);
}

/**
 * Geometry attribute that stores integer values
 *
 * bpy.types.IntAttribute
 */
export interface IntAttribute extends R.Attribute {
  readonly data: H.Own<H.Coll<R.IntAttributeValue>>;
}

/**
 * Integer value in geometry attribute
 *
 * bpy.types.IntAttributeValue
 */
export interface IntAttributeValue extends R.bpy_struct {
  /** Range: -2147483648 to 2147483647. Default: 0. */
  get value(): H.Ref<number>;
  set value(v: H.In<number>);
}

/**
 * RNA integer number property definition
 *
 * bpy.types.IntProperty
 */
export interface IntProperty extends R.Property {
  /** Default value for this number Range: -2147483648 to 2147483647. Default: 0. */
  get default(): H.Ref<number>;
  /** Default value for this array Range: -2147483648 to 2147483647. Default: (0, 0, 0). */
  get default_array(): H.Arr<number>;
  /** Maximum length of the array, 0 means unlimited Range: 0 to 2147483647. Default: 0. */
  get array_length(): H.Ref<number>;
  /** Length of each dimension of the array Range: 0 to 2147483647. Default: (0, 0, 0). */
  get array_dimensions(): H.Arr<number>;
  /** Is Array Default: False. */
  get is_array(): H.Ref<boolean>;
  /** Hard minimum, trying to assign a value below will silently assign this minimum instead Range: -2147483648 to 2147483647. Default: 0. */
  get hard_min(): H.Ref<number>;
  /** Hard maximum, trying to assign a value above will silently assign this maximum instead Range: -2147483648 to 2147483647. Default: 0. */
  get hard_max(): H.Ref<number>;
  /** Soft minimum (>= hard_min), user cannot drag widgets below this value in the UI Range: -2147483648 to 2147483647. Default: 0. */
  get soft_min(): H.Ref<number>;
  /** Soft maximum (<= hard_max), user cannot drag widgets above this value in the UI Range: -2147483648 to 2147483647. Default: 0. */
  get soft_max(): H.Ref<number>;
  /** Step size used by number buttons, for floats 1/100th of the step size Range: 0 to 2147483647. Default: 0. */
  get step(): H.Ref<number>;
}

/**
 * Parameters for the iTaSC IK solver
 *
 * bpy.types.Itasc
 */
export interface Itasc extends R.IKParam {
  /** Precision of convergence in case of reiteration Range: 0 to 0.10000000149011612. Default: 0.0. */
  get precision(): H.Ref<number>;
  set precision(v: H.In<number>);
  /** Maximum number of iterations for convergence in case of reiteration Range: 0 to 1000. Default: 0. */
  get iterations(): H.Ref<number>;
  set iterations(v: H.In<number>);
  /** Divide the frame interval into this many steps Range: 1 to 50. Default: 0. */
  get step_count(): H.Ref<number>;
  set step_count(v: H.In<number>);
  /** Translate root (i.e. parentless) bones to the armature origin Default: False. */
  get translate_root_bones(): H.Ref<boolean>;
  set translate_root_bones(v: H.In<boolean>);
  /**
   * Mode Default: 'ANIMATION'.
   * - `ANIMATION`: Animation (Stateless solver computing pose starting from current action and non-IK constraints)
   * - `SIMULATION`: Simulation (State-full solver running in real-time context and ignoring actions and non-IK constraints)
   */
  get mode(): H.Ref<"ANIMATION" | "SIMULATION">;
  set mode(v: H.In<"ANIMATION" | "SIMULATION">);
  /**
   * Defines if the solver is allowed to reiterate (converge until precision is met) on none, first or all frames Default: 'NEVER'.
   * - `NEVER`: Never (The solver does not reiterate, not even on first frame (starts from rest pose))
   * - `INITIAL`: Initial (The solver reiterates (converges) on the first frame but not on subsequent frame)
   * - `ALWAYS`: Always (The solver reiterates (converges) on all frames)
   */
  get reiteration_method(): H.Ref<"NEVER" | "INITIAL" | "ALWAYS">;
  set reiteration_method(v: H.In<"NEVER" | "INITIAL" | "ALWAYS">);
  /** Automatically determine the optimal number of steps for best performance/accuracy trade off Default: False. */
  get use_auto_step(): H.Ref<boolean>;
  set use_auto_step(v: H.In<boolean>);
  /** Lower bound for timestep in second in case of automatic substeps Range: 0 to 0.10000000149011612. Default: 0.0. */
  get step_min(): H.Ref<number>;
  set step_min(v: H.In<number>);
  /** Higher bound for timestep in second in case of automatic substeps Range: 0 to 1. Default: 0.0. */
  get step_max(): H.Ref<number>;
  set step_max(v: H.In<number>);
  /** Feedback coefficient for error correction, average response time is 1/feedback Range: 0 to 100. Default: 0.0. */
  get feedback(): H.Ref<number>;
  set feedback(v: H.In<number>);
  /** Maximum joint velocity in radians/second Range: 0 to 100. Default: 0.0. */
  get velocity_max(): H.Ref<number>;
  set velocity_max(v: H.In<number>);
  /**
   * Solving method selection: automatic damping or manual damping Default: 'SDLS'.
   * - `SDLS`: SDLS (Selective Damped Least Square)
   * - `DLS`: DLS (Damped Least Square with Numerical Filtering)
   */
  get solver(): H.Ref<"SDLS" | "DLS">;
  set solver(v: H.In<"SDLS" | "DLS">);
  /** Maximum damping coefficient when singular value is nearly 0 (higher values produce results with more stability, less reactivity) Range: 0 to 1. Default: 0.0. */
  get damping_max(): H.Ref<number>;
  set damping_max(v: H.In<number>);
  /** Singular value under which damping is progressively applied (higher values produce results with more stability, less reactivity) Range: 0 to 1. Default: 0.0. */
  get damping_epsilon(): H.Ref<number>;
  set damping_epsilon(v: H.In<number>);
}