import type { Tool } from './tools.js';
export type Object = 'paymentLinks' | 'refunds' | 'order';
export type Permission = 'create' | 'read';
export type Actions = {
    [K in Object]?: {
        [K in Permission]?: boolean;
    };
};
export type Context = {
    baseUrl?: string;
};
export type Configuration = {
    actions?: Actions;
    context?: Context;
};
export declare const isToolAllowed: (tool: Tool, configuration: Configuration) => boolean;
