import type { RunStore } from "../run-state/store.js";
export declare const SEED_ARTIFACT_INDEX_SCHEMA_VERSION = 1;
export type SeedArtifactRecord = {
    schema_version: typeof SEED_ARTIFACT_INDEX_SCHEMA_VERSION;
    artifact_id: string;
    name: string;
    path: string;
    extension: string;
    size_bytes: number;
    created_at: string;
    updated_at: string;
};
export type SeedArtifactIndex = {
    schema_version: typeof SEED_ARTIFACT_INDEX_SCHEMA_VERSION;
    updated_at: string;
    artifacts: SeedArtifactRecord[];
};
export declare function writeArtifact(store: RunStore, runId: string, input: {
    name?: string;
    content: string;
    extension?: string;
}): Promise<string>;
export declare function writeBinaryArtifact(store: RunStore, runId: string, input: {
    name?: string;
    content: Buffer;
    extension?: string;
}): Promise<string>;
export declare function indexArtifactFile(store: RunStore, runId: string, input: {
    file: string;
    name?: string;
    extension?: string;
}): Promise<void>;
export declare function readArtifactIndex(store: RunStore, runId: string): Promise<SeedArtifactIndex>;
