import { SourceLayerGroup } from '../entities/source/source-layer-group.js'; import { SourceLayerShape } from '../entities/source/source-layer-shape.js'; import { SourceLayerText } from '../entities/source/source-layer-text.js'; import { SourceLayerXObjectForm } from '../entities/source/source-layer-x-object-form.js'; import { SourceLayerXObjectImage } from '../entities/source/source-layer-x-object-image.js'; import type { SourceLayerParent } from '../entities/source/source-layer-common.js'; import type { RawLayer } from '../typings/raw/layer.js'; import type { RawXObjectLayer } from '../typings/raw/x-object.js'; import type { Nullish } from '@opendesign/octopus-common/dist/utility-types.js'; export type SourceLayer = SourceLayerGroup | SourceLayerText | SourceLayerShape | SourceLayerXObjectForm | SourceLayerXObjectImage; type CreateLayerOptions = { layer: RawLayer; parent: SourceLayerParent; }; type CreateXObjectFormOptions = CreateLayerOptions & { rawXObject?: RawXObjectLayer; }; export declare function createSourceLayerXObjectForm({ layer, parent, rawXObject, }: CreateXObjectFormOptions): SourceLayerXObjectForm; export declare function createSourceLayerShape({ layer, parent }: CreateLayerOptions): SourceLayerShape; export declare function createSourceLayerText({ layer, parent }: CreateLayerOptions): SourceLayerText; export declare function createSourceLayer(options: CreateLayerOptions): Nullish; export {};