import { type RuntimeSecretFile as ProtoFile } from "./internal/proto/tenki/sandbox/v1/secret_file_pb.js";
export interface RuntimeSecretReference {
    name: string;
    placeholder?: boolean;
}
export type RuntimeSecretFile = {
    path: string;
} & ({
    raw: RuntimeSecretReference;
} | {
    source: string;
} | {
    content: string;
});
export declare function secretFileToProto(file: RuntimeSecretFile): ProtoFile;
export declare function validSecretFiles(files: ProtoFile[], count: number): boolean;
/** Names in single-pass file markers; null means malformed or oversized text. */
export declare function secretFileNames(content: string): string[] | null;
