import { CallExpressionShape, FileSystem, Plugin, type Source, type Record, type Project, type Factory, type AssociateRecordsShape, type LazyValue } from '@servicenow/sdk-build-core'; export declare function sha256(message: Buffer): Promise; type BaseAttachmentProperties = { average_image_color: ''; chunk_size_bytes: unknown; compressed: boolean; content_type: string | undefined; hash: string; image_height: ''; image_width: ''; size_bytes: unknown; size_compressed: unknown; data: string[]; }; export declare class NowAttachShape extends CallExpressionShape implements AssociateRecordsShape, LazyValue { private readonly baseProperties; constructor({ source, path, baseProperties, }: { source: Source; path: string; baseProperties: BaseAttachmentProperties; }); evaluate(parentRecord: Record, field: string): string; getPath(): string; getBaseAttachmentProperties(): BaseAttachmentProperties; getExtension(): "" | ".jpg" | ".png" | ".bmp" | ".gif" | ".ico" | ".svg"; getBufferData(): Promise | Buffer>; writeBufferTo(fs: FileSystem, absolutePath: string): Promise; writeToPath(fs: FileSystem, project: Project, relativePathWithoutExtension: string): Promise; createAssociatedRecords({ parentRecord, factory, field, }: { parentRecord: Record; factory: Factory; field: string; }): Promise; equals(value: E): boolean; static create(source: Source, fs: FileSystem, filePath: string): Promise; static fromAttachmentRecord(parentUpdateName: string, attachment: Record, attachmentDocs: Record[]): NowAttachShape; } export declare const NowAttachPlugin: Plugin; export {};