import { z } from 'zod';
export declare const MachineFileBrowserRootSchema: z.ZodObject<{
    id: z.ZodString;
    label: z.ZodString;
    path: z.ZodString;
}, z.core.$loose>;
export type MachineFileBrowserRoot = z.infer<typeof MachineFileBrowserRootSchema>;
export declare const MachineFileBrowserDirectoryEntrySchema: z.ZodObject<{
    name: z.ZodString;
    path: z.ZodString;
    type: z.ZodEnum<{
        file: "file";
        directory: "directory";
        other: "other";
    }>;
    size: z.ZodOptional<z.ZodNumber>;
    modified: z.ZodOptional<z.ZodNumber>;
}, z.core.$loose>;
export type MachineFileBrowserDirectoryEntry = z.infer<typeof MachineFileBrowserDirectoryEntrySchema>;
export declare const DaemonFilesystemListRootsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    ok: z.ZodLiteral<true>;
    roots: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        label: z.ZodString;
        path: z.ZodString;
    }, z.core.$loose>>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    error: z.ZodString;
    errorCode: z.ZodOptional<z.ZodString>;
}, z.core.$loose>], "ok">;
export type DaemonFilesystemListRootsResponse = z.infer<typeof DaemonFilesystemListRootsResponseSchema>;
export declare const DaemonFilesystemListDirectoryRequestSchema: z.ZodObject<{
    path: z.ZodString;
    includeFiles: z.ZodOptional<z.ZodBoolean>;
    maxEntries: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
}, z.core.$loose>;
export type DaemonFilesystemListDirectoryRequest = z.infer<typeof DaemonFilesystemListDirectoryRequestSchema>;
export declare const DaemonFilesystemListDirectoryResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    ok: z.ZodLiteral<true>;
    path: z.ZodString;
    entries: z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        path: z.ZodString;
        type: z.ZodEnum<{
            file: "file";
            directory: "directory";
            other: "other";
        }>;
        size: z.ZodOptional<z.ZodNumber>;
        modified: z.ZodOptional<z.ZodNumber>;
    }, z.core.$loose>>;
    truncated: z.ZodBoolean;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    error: z.ZodString;
    errorCode: z.ZodOptional<z.ZodString>;
}, z.core.$loose>], "ok">;
export type DaemonFilesystemListDirectoryResponse = z.infer<typeof DaemonFilesystemListDirectoryResponseSchema>;
//# sourceMappingURL=machineFileBrowser.d.ts.map