import { SourceArtboard } from './source-artboard.js'; import type { SourceLayerGroup } from './source-layer-group.js'; import type { SourceLayerShape } from './source-layer-shape.js'; import type { SourceLayerXObjectForm } from './source-layer-x-object-form.js'; import type { SourceResources } from './source-resources.js'; import type { RawLayer, RawResourcesExtGState, RawGraphicsState, RawGraphicsStateMatrix, RawResourcesShadingKeyFunction, RawResourcesExtGStateSmask } from '../../typings/raw/index.js'; import type { Nullish } from '@opendesign/octopus-common/dist/utility-types.js'; export type SourceLayerParent = SourceLayerGroup | SourceArtboard | SourceLayerXObjectForm | SourceLayerShape; type SourceLayerCommonOptions = { parent: SourceLayerParent; rawValue: RawLayer; }; export type LayerType = 'TextGroup' | 'MarkedContext' | 'Path' | 'XObject' | 'Shading' | XObjectSubtype; export type XObjectSubtype = 'Form' | 'Image'; export declare abstract class SourceLayerCommon { protected _parent: SourceLayerParent; protected _rawValue: RawLayer; protected _id: string; constructor(options: SourceLayerCommonOptions); get id(): string; get type(): Nullish; get raw(): RawLayer; get parentArtboard(): SourceArtboard; abstract resourcesTarget(): Nullish; get resources(): Nullish; get parentArtboardDimensions(): { width: number; height: number; }; get parentArtboardHeight(): number; get graphicsState(): Nullish; get externalGraphicState(): Nullish; get blendMode(): Nullish; get gradientMask(): Nullish; get sMask(): Nullish; get opacity(): Nullish; get transformMatrix(): RawGraphicsStateMatrix; get hiddenContentIds(): number[]; } export {};