/** * list_payrolls: the household's payrolls, newest first, from * `GET /api/v1/payrolls`, filtered by employee and by pay date. * * It answers "what did I pay her last time?" and "list my last three * payrolls" without an id the agent would otherwise need from somewhere. * get_payroll still reads one payroll in full; this tool is the index. * * Registered from its own module (one tool per file) so a new tool never has * to edit another's registration. */ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { type ToolContext } from "../context.ts"; export declare const LIST_PAYROLLS_DESCRIPTION: string; /** The hosted listing's copy: no account or plan prompts, same facts. */ export declare const LIST_PAYROLLS_PUBLIC_DESCRIPTION: string; export interface ListPayrollsArgs { employer_id?: string; employee_id?: string; pay_date_from?: string; pay_date_to?: string; limit?: number; cursor?: string; } export declare function executeListPayrolls(args: ListPayrollsArgs, context?: ToolContext): Promise; export declare function registerListPayrolls(server: McpServer, context?: ToolContext): void;