import type { Action } from '../../types.js';
import type Schema from '../../schema/Schema.js';
export type AuthorizeDataFn = (action: Action, allowRaw?: boolean) => Action;
export declare const fromService: (schemas: Map<string, Schema>) => AuthorizeDataFn;
export declare const toService: (schemas: Map<string, Schema>) => AuthorizeDataFn;
