/**
 * Takes the input string and returns the camelCase equivalent
 *
 * @example
 * ```ts
 * import { toCamelCase } from '@graphprotocol/hypergraph/mapping'
 *
 * expect(toCamelCase('Address line 1')).toEqual('addressLine1');
 * expect(toCamelCase('AddressLine1')).toEqual('addressLine1');
 * expect(toCamelCase('addressLine1')).toEqual('addressLine1');
 * expect(toCamelCase('address_line_1')).toEqual('addressLine1');
 * expect(toCamelCase('address-line-1')).toEqual('addressLine1');
 * expect(toCamelCase('address-line_1')).toEqual('addressLine1');
 * expect(toCamelCase('address-line 1')).toEqual('addressLine1');
 * expect(toCamelCase('ADDRESS_LINE_1')).toEqual('addressLine1');
 * ```
 *
 * @since 0.2.0
 *
 * @param str input string
 * @returns camelCased value of the input string
 */
export declare function toCamelCase(str: string): string;
/**
 * Takes the input string and returns the PascalCase equivalent
 *
 * @example
 * ```ts
 * iimport { toPascalCase } from '@graphprotocol/hypergraph/mapping'
 *
 * expect(toPascalCase('Address line 1')).toEqual('AddressLine1');
 * expect(toPascalCase('AddressLine1')).toEqual('AddressLine1');
 * expect(toPascalCase('addressLine1')).toEqual('AddressLine1');
 * expect(toPascalCase('address_line_1')).toEqual('AddressLine1');
 * expect(toPascalCase('address-line-1')).toEqual('AddressLine1');
 * expect(toPascalCase('address-line_1')).toEqual('AddressLine1');
 * expect(toPascalCase('address-line 1')).toEqual('AddressLine1');
 * expect(toPascalCase('ADDRESS_LINE_1')).toEqual('AddressLine1');
 * ```
 *
 * @since 0.2.0
 *
 * @param str input string
 * @returns PascalCased value of the input string
 */
export declare function toPascalCase(str: string): string;
declare const InvalidInputError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "/typesync/errors/InvalidInputError";
} & Readonly<A>;
export declare class InvalidInputError extends InvalidInputError_base<{
    readonly input: string;
    readonly cause: unknown;
}> {
}
/**
 * Adds schema validation that the array of objects with property `name` only has unique names
 *
 * @example <caption>only unique names -> returns true</caption>
 * ```ts
 * const types = [{name:'Account'}, {name:'Event'}]
 * expect(namesAreUnique(types)).toEqual(true)
 * ```
 *
 * @example <caption>duplicate name -> returns false</caption>
 * ```ts
 * const types = [{name:'Account'}, {name:'Event'}, {name:'Account'}]
 * expect(namesAreUnique(types)).toEqual(false)
 * ```
 */
export declare function namesAreUnique<T extends {
    readonly name: string;
}>(entries: ReadonlyArray<T>): boolean;
export {};
//# sourceMappingURL=Utils.d.ts.map