/** * Utility functions for the Sunsama API wrapper */ export * from './validation.js'; export * from './conversion.js'; export * from './dates.js'; export * from './collab.js'; /** * Validates that a string is not empty * * @param value - The string to validate * @param fieldName - Name of the field (for error messages) * @throws {Error} If the string is empty or only whitespace */ export declare function validateNonEmptyString(value: string, fieldName: string): void; /** * Validates that a number is positive * * @param value - The number to validate * @param fieldName - Name of the field (for error messages) * @throws {Error} If the number is not positive */ export declare function validatePositiveNumber(value: number, fieldName: string): void; /** * Builds a URL with query parameters * * @param baseUrl - The base URL * @param params - Query parameters to append * @returns The complete URL with query string */ export declare function buildUrlWithParams(baseUrl: string, params?: Record): string; /** * Checks if a value is a plain object * * @param value - The value to check * @returns True if the value is a plain object */ export declare function isPlainObject(value: unknown): value is Record; //# sourceMappingURL=index.d.ts.map