apx-toolkit
Version:
Automatically discover APIs and generate complete integration packages: code in 12 languages, TypeScript types, test suites, SDK packages, API documentation, mock servers, performance reports, and contract tests. Saves 2-4 weeks of work in seconds.
64 lines • 1.95 kB
TypeScript
/**
* User-Friendly Messages
*
* Provides clear, helpful messages for users
*/
export declare const USER_MESSAGES: {
welcome: () => string;
discovery: {
starting: (urlCount: number) => string;
inProgress: (current: number, total: number) => string;
found: (count: number) => string;
none: () => string;
};
processing: {
starting: (count: number) => string;
inProgress: (current: number, total: number) => string;
complete: (count: number) => string;
};
generation: {
mockServer: () => string;
performance: () => string;
contracts: () => string;
mcp: () => string;
x402: () => string;
dependencyGraph: () => string;
complete: (feature: string) => string;
};
output: {
summary: (items: number) => string;
location: (location: string) => string;
nextSteps: () => string;
};
errors: {
invalidUrl: (url: string) => string;
noUrls: () => string;
discoveryFailed: (url: string, reason: string) => string;
processingFailed: (url: string) => string;
validation: (field: string, message: string) => string;
suggestion: (suggestion: string) => string;
};
tips: {
betterDiscovery: () => string;
fasterProcessing: () => string;
moreApis: () => string;
authentication: () => string;
};
success: {
complete: () => string;
features: (count: number) => string;
};
};
/**
* Format progress message
*/
export declare function formatProgress(current: number, total: number, label: string): string;
/**
* Format time estimate
*/
export declare function formatTimeEstimate(seconds: number): string;
/**
* Get helpful suggestion based on error
*/
export declare function getSuggestion(error: string): string | null;
//# sourceMappingURL=user-friendly-messages.d.ts.map