/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
export type ArtifactKind = 'file' | 'image' | 'audio' | 'video' | 'document' | 'archive' | 'data';
export declare const ARTIFACT_ACQUISITION_MODES: readonly ["inline-data", "local-path", "remote-fetch", "unknown"];
export declare const ARTIFACT_FETCH_MODES: readonly ["not-applicable", "public-only", "allow-private-hosts", "unknown"];
export type ArtifactAcquisitionMode = typeof ARTIFACT_ACQUISITION_MODES[number];
export type ArtifactFetchMode = typeof ARTIFACT_FETCH_MODES[number];
export interface ArtifactDescriptor {
    readonly id: string;
    readonly kind: ArtifactKind;
    readonly mimeType: string;
    readonly filename?: string;
    readonly sizeBytes: number;
    readonly sha256: string;
    readonly createdAt: number;
    readonly expiresAt?: number;
    readonly sourceUri?: string;
    readonly acquisitionMode: ArtifactAcquisitionMode;
    readonly fetchMode: ArtifactFetchMode;
    readonly metadata: Record<string, unknown>;
}
export interface ArtifactRecord extends ArtifactDescriptor {
    readonly contentPath: string;
    readonly metadataPath: string;
}
export interface ArtifactReference {
    readonly artifactId: string;
    readonly label?: string;
    readonly metadata?: Record<string, unknown>;
}
export interface ArtifactAttachment extends ArtifactDescriptor {
    readonly artifactId: string;
    readonly label?: string;
    readonly contentPath: string;
    readonly contentUrl?: string;
    readonly dataBase64?: string;
}
export interface ArtifactCreateInput {
    readonly kind?: ArtifactKind;
    readonly mimeType?: string;
    readonly filename?: string;
    readonly dataBase64?: string;
    readonly text?: string;
    readonly path?: string;
    readonly uri?: string;
    readonly sourceUri?: string;
    readonly retentionMs?: number;
    readonly acquisitionMode?: ArtifactAcquisitionMode;
    readonly fetchMode?: ArtifactFetchMode;
    readonly allowPrivateHosts?: boolean;
    readonly metadata?: Record<string, unknown>;
}
export declare const EXTENSION_MIME_TYPES: Record<string, string>;
export declare function guessMimeType(filename?: string): string;
export declare function inferArtifactKind(mimeType: string, filename?: string): ArtifactKind;
export declare function sanitizeArtifactFilename(filename: string | undefined, fallback?: string): string;
//# sourceMappingURL=types.d.ts.map