import { type Db } from "@rudderhq/db";
import type { OrganizationLegacyHeartbeatInstructionDeleteResult, OrganizationWorkspaceEntryMutationResult, OrganizationWorkspaceFileDetail, OrganizationWorkspaceFileEntry, OrganizationWorkspaceFileList } from "@rudderhq/shared";
export declare function organizationWorkspaceBrowserService(db: Db): {
    listFiles(orgId: string, directoryPath?: string): Promise<OrganizationWorkspaceFileList>;
    listMentionableFiles(orgId: string, options?: {
        query?: string | null;
        limit?: number | null;
    }): Promise<OrganizationWorkspaceFileEntry[]>;
    readFile(orgId: string, filePath: string): Promise<OrganizationWorkspaceFileDetail>;
    readAttachmentFile(orgId: string, filePath: string): Promise<{
        normalizedPath: string;
        originalFilename: string;
        contentType: string;
        buffer: Buffer;
    }>;
    writeFile(orgId: string, filePath: string, content: string): Promise<OrganizationWorkspaceFileDetail>;
    createFile(orgId: string, filePath: string, content: string): Promise<OrganizationWorkspaceFileDetail>;
    createDirectory(orgId: string, directoryPath: string): Promise<OrganizationWorkspaceEntryMutationResult>;
    renameEntry(orgId: string, entryPath: string, name: string): Promise<OrganizationWorkspaceEntryMutationResult>;
    moveEntry(orgId: string, entryPath: string, destinationDirectoryPath: string): Promise<OrganizationWorkspaceEntryMutationResult>;
    deleteEntry(orgId: string, entryPath: string): Promise<OrganizationWorkspaceEntryMutationResult>;
    deleteLegacyHeartbeatInstructions(orgId: string): Promise<OrganizationLegacyHeartbeatInstructionDeleteResult>;
};
//# sourceMappingURL=organization-workspace-browser.d.ts.map