import type { IGraphQLApiRef, IApiRef, IFunctionConfigurationRef } from '../../../interfaces/generated/aws-appsync-interfaces.generated';
import type { IApi } from '../api-base';
import type { IGraphqlApi } from '../graphqlapi-base';
/**
 * Converts an IGraphQLApiRef to IGraphqlApi, validating that it implements the full interface
 */
export declare function toIGraphqlApi(api: IGraphQLApiRef): IGraphqlApi;
/**
 * Converts an IApiRef to IApi, validating that it implements the full interface
 */
export declare function toIApi(api: IApiRef): IApi;
export declare function extractApiIdFromApiRef(apiRef: IApiRef): string;
export declare function extractApiIdFromGraphQLApiRef(apiRef: IGraphQLApiRef): string;
export declare function extractFunctionIdFromFunctionRef(funcRef: IFunctionConfigurationRef): string;
