/** * Formats text and labels to meet Zapier app validation requirements. * * This module provides utilities to ensure Zapier integration content passes * validation checks during app review and publishing. * * @see https://docs.zapier.com/platform/publish/integration-checks-reference */ /** * Converts text to proper title case format as required by Zapier validation D018. * * Capitalizes the first letter of each word except for common articles, prepositions, * and conjunctions (unless they're the first or last word). Handles multiple word * separators including spaces, hyphens, underscores, and dots. * * @param text - The text to convert to title case * @returns Title-cased text that passes Zapier D018 validation * * @example * ```ts * const title = toTitleCase("search notion and connected sources"); * // Returns: "Search Notion and Connected Sources" * * const title2 = toTitleCase("notion-get-user"); * // Returns: "Notion Get User" * ``` */ export declare const toTitleCase: (text: string) => string; /** * Converts bare URLs to proper markdown link format for Zapier validation. * * Finds bare URLs in text and converts them to [url](url) format while preserving * existing markdown links, code blocks, and angle brackets. * * @param text - The text containing URLs to format * @returns Text with URLs converted to markdown links * * @example * ```ts * const formatted = formatUrlsAsMarkdown("Visit https://example.com for more info"); * // Returns: "Visit [https://example.com](https://example.com) for more info" * ``` */ export declare const formatUrlsAsMarkdown: (text: string) => string; //# sourceMappingURL=zapierFormat.d.ts.map