export declare const isClientGeneratedId: (id: string) => boolean | ""; /** * Create optimistic response. * For example: * optimisticResponse: { __typename: "Mutation", updateComment: { id: commentId, __typename: "Comment", content: commentContent } } * * For more info and examples see: * https://www.apollographql.com/docs/react/features/optimistic-ui.html * * @param operation operation that is being performed (update) * @param typeName type that is going to be returned * @param data actual data passed to function * @param addId generate client id for response * @param idField name of id field (default:id) */ export declare const createOptimisticResponse: (operation: string, typeName: string, data: any, addId?: boolean, idField?: string) => any;