/** Shared visible-slot rules for Studio cards and generation inputs. */ export type EntityImageSlotRole = "current" | "reference"; interface SlottedEntity { images: Image[]; referenceImageId?: string; clearedImageSlots?: EntityImageSlotRole[]; } /** Whether a user explicitly removed this slot's project and library fallback. */ export declare function imageSlotCleared(entity: { clearedImageSlots?: EntityImageSlotRole[]; }, role: EntityImageSlotRole): boolean; /** Resolve the same project image displayed by the card, excluding cleared slots. */ export declare function projectImageSlot(entity: SlottedEntity, role: EntityImageSlotRole): Image | undefined; /** Explicitly placing an image reopens only its destination slot. */ export declare function reopenImageSlot(entity: { clearedImageSlots?: EntityImageSlotRole[]; }, role: string): EntityImageSlotRole[]; export {};