export function trimEdges(string: string, margin?: number | undefined): string;