import type { Context } from 'hono';
import { Hono } from 'hono';
import { LocalStorageService } from './service.js';
export interface StorageAuthorizationRequest {
    bucketId: string;
    objectPath: string;
}
export type StorageAuthorizer = (context: Context, request: StorageAuthorizationRequest) => boolean | Response | Promise<boolean | Response>;
export interface StorageRouteOptions {
    authorize?: StorageAuthorizer;
}
export declare function createStorageRoutes(service?: LocalStorageService, options?: StorageRouteOptions): Hono;
export declare const storageRoutes: Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
export default storageRoutes;
//# sourceMappingURL=routes.d.ts.map