import { z } from "zod";
export declare enum ResponseFormat {
MARKDOWN = "markdown",
JSON = "json"
}
export declare const ResponseFormatSchema: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
export declare const PaginationSchema: z.ZodObject<{
limit: z.ZodDefault<z.ZodNumber>;
offset: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
offset: number;
limit: number;
}, {
offset?: number | undefined;
limit?: number | undefined;
}>;
export declare const IdSchema: z.ZodString;
export declare const ResourceIdSchema: z.ZodObject<{
id: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
}, {
id: string;
}>;
/**
* Format a date string for human-readable display.
*/
export declare function formatDate(dateStr?: string | null): string;
/**
* Format a datetime string for human-readable display.
*/
export declare function formatDateTime(dateStr?: string | null): string;
/**
* Format cents as a dollar amount string.
*/
export declare function formatCents(cents?: number | null, currency?: string): string;
/**
* Build pagination metadata for responses.
*/
export declare function buildPaginationMeta(total: number, count: number, offset: number): {
next_offset?: number | undefined;
total: number;
count: number;
offset: number;
has_more: boolean;
};
/**
* Truncate a response string if it exceeds the character limit.
*/
export declare function truncateIfNeeded(text: string, limit: number, hint: string): string;
//# sourceMappingURL=common.d.ts.map