export interface WebhookConfig {
    id: string;
    name: string;
    secret?: string;
    agentMessage: string;
    enabled: boolean;
    createdAt: number;
}
export declare class WebhookManager {
    private webhooks;
    private configPath;
    constructor(configDir?: string);
    register(name: string, agentMessage: string, secret?: string): WebhookConfig;
    remove(id: string): boolean;
    setEnabled(id: string, enabled: boolean): boolean;
    get(id: string): WebhookConfig | undefined;
    list(): WebhookConfig[];
    processPayload(id: string, body: Record<string, unknown>, signature?: string): {
        message: string;
    } | {
        error: string;
    };
    private verifySignature;
    private resolveTemplate;
    private load;
    private save;
}
