import type { DB } from '@matrixai/db'; import type { JSONObject, JSONRPCRequest, JSONValue } from '@matrixai/rpc'; import type { ContextTimed } from '@matrixai/contexts'; import type ACL from '../../../acl/ACL.js'; import type VaultManager from '../../../vaults/VaultManager.js'; import { ReadableStream } from 'stream/web'; import { RawHandler } from '@matrixai/rpc'; /** * Gets the git pack of a vault. */ declare class VaultsGitPackGet extends RawHandler<{ vaultManager: VaultManager; acl: ACL; db: DB; }> { handle: (input: [JSONRPCRequest, ReadableStream], _cancel: (reason: any) => void, meta: Record, ctx: ContextTimed) => Promise<[JSONObject, ReadableStream]>; } export default VaultsGitPackGet;