export interface DirectoryEntryRegFile {
    type: '-';
    name: string;
    executable: boolean;
    hash: string;
}
export interface DirectoryEntryDir {
    type: 'd';
    name: string;
    hash: string;
}
export interface DirectoryEntrySymlink {
    type: 'l';
    name: string;
    target: string;
}
export type DirectoryEntry = DirectoryEntryRegFile | DirectoryEntryDir | DirectoryEntrySymlink;
export type DirectoryEntryWithPath = {
    entry: DirectoryEntry;
    path: string;
};
interface PutManyItemFileContents {
    type: 'fileContents';
    contents: string;
}
interface PutManyItemDirectoryContents {
    type: 'directoryContents';
    contents: DirectoryEntry[];
}
type PutManyItem = PutManyItemFileContents | PutManyItemDirectoryContents;
export interface PutManyRequestPayload {
    items: PutManyItem[];
}
export interface PutManyResponsePayload {
    items: {
        hash: string;
    }[];
}
export {};
//# sourceMappingURL=types.d.ts.map