import type { Link, DefaultElements } from '../common-types';
import type { MakeRequest } from '../common-types';
export type FunctionLogProps = {
    sys: {
        id: string;
        type: 'FunctionLog';
        createdBy: Link<'User'>;
        createdAt: string;
        space: Link<'Space'>;
        environment: Link<'Environment'>;
        appDefinition: Link<'AppDefinition'>;
    };
    severity: {
        info: number;
        warn: number;
        error: number;
    };
    requestId: string;
    event: {
        type: string;
        query: string;
        isIntrospectionQuery: boolean;
        variables: Record<string, any>;
    };
    messages: Array<{
        timestamp: number;
        type: 'INFO' | 'ERROR' | 'WARN';
        message: string;
    }>;
};
export interface FunctionLog extends FunctionLogProps, DefaultElements<FunctionLogProps> {
}
/**
 * @internal
 * @param makeRequest - function to make requests via an adapter
 * @param data - raw contentful-Function data
 * @returns Wrapped Function data
 */
export declare function wrapFunctionLog(makeRequest: MakeRequest, data: FunctionLogProps): FunctionLogProps;
/**
 * @internal
 * @param makeRequest - function to make requests via an adapter
 * @param data - raw contentful-function data
 * @returns Wrapped App Function collection data
 */
export declare const wrapFunctionLogCollection: (makeRequest: MakeRequest, data: import("..").CollectionProp<FunctionLogProps>) => import("..").Collection<FunctionLogProps, FunctionLogProps>;
